close
close
Choose your browser and use OpenAI’s GPT-4o AI model – Visual Studio Magazine

News

VS Code 1 92: Choose your browser, use OpenAI’s GPT-4o AI model

A highlight of the latest version of Microsoft’s open-source code editor Visual Studio Code is the ability to choose your default browser for opening links, as well as access to a new, advanced AI model.

“A new environment workbench.externalBrowser allows you to configure which browser to use to open links,” the development team said when announcing the July 2024 update that brings VS Code to version 1.92. “By default, the operating system’s default browser is used. You can configure this setting at the workspace level and also enable settings synchronization.

“Specify the full path to the browser executable as the setting value. To ensure correct functionality on all devices, you can alternatively use browser aliases such as Edge, Chrome or Firefox.”

Here is the new functionality in animated action:

Select default browser in animated action
(Click on the image to enlarge it.) Select default browser in animated action (Source: Microsoft).

Another highlight of the release is the upgrade of the GitHub Copilot chat feature to use OpenAI’s GPT-4o model, which significantly improves the quality and speed of code suggestions and explanations. “Our experiments show that GPT-4o significantly improves Copilot’s coding capabilities, providing faster, more accurate, and higher quality code and explanations directly in your editor,” the team said. “This was evident during the rollout as developers increasingly used the Copilot chat view and incorporated more of their code suggestions.”

Additionally, GitHub Copilot now has a feature that can return code that matches publicly available code on GitHub.com. This feature, available to users with an organizational or personal subscription, shows details of detected code matches in code completions. It is gradually rolling out to chat users, and once enabled, they will see a “View matches” link in Copilot chat replies that opens an editor to view the matched code references.

Here is a summary of other highlights in the release with links to specific information:

  • Undo PRs – Easily create a revert PR for a merged PR: New features in the GitHub Pull Requests extension include:

    • Revert pull requests by using the Revert button in the pull request description of merged PRs.
    • PRs whose branch has been deleted can now be viewed in the Pull Requests view.
    • The Open Pull Request on GitHub.com action will appear even if you have multiple PRs checked out.
  • Expansion updates – Easier to configure automatic extension updates: The update improves control over extension updates and allows users to enable or disable automatic updates for all extensions at once or individually. There is also a new prompt that requires user consent when updating an extension without executable code to an extension with code, improving security and user awareness.
  • Overwrite profiles – Overwrite an existing profile using the Profile Editor: The Profile Editor has been enhanced to allow users to overwrite an existing profile, including the default profile, by simply creating a new profile with the same name. The Profile Editor is available as an experimental option and can be accessed via the workbench.experimental.enableNewProfilesUI Attitude.
  • Insert files into CSS – Quickly add CSS file references by pasting or dragging and dropping: Now, when you need to reference an image or other files in your CSS, you can simply drag and drop or paste the file into the editor and Visual Studio Code will automatically generate the URL() reference, streamlining the workflow for web developers.
  • Move panel up – Position the panel area at the top of the workbench: Users can now reposition the panel, which contains views such as the terminal, output panel, and debug console, at the top of the workbench. This complements the existing options to position the panel on the left, right, or bottom, and provides more flexibility in customizing the workbench layout.
  • Read the detailed announcement for information on:

    • VS Code-native IntelliSense for PowerShell
    • TypeScript 5.6 support
    • Suggested APIs
    • Improvements to the VS Code website
    • Technical improvements and important general bug fixes

    About the author


    David Ramel is an editor and writer for Converge360.



    By Jasper

    Leave a Reply

    Your email address will not be published. Required fields are marked *