Visual Studio Code 1.77, released March 30 as the March 2023 version of Microsoft’s extensible code editor, presents a sneak peek of much deeper combination with the GitHub Copilot AI coding assistant, including inline tips and chat capabilities.The VS Code upgrade also brings TypeScript/ JavaScript switch case completions, assisting users scaffold out switch statements over actual enters either programs language. Type case inside of the switch statement and accept the tip for case … to immediately insert cases for all values of this type. However note this only works when the worth being switched over is either a union or literal type.Also in VS Code 1.77, users can try out GitHub Copilot features such as inline recommendations, a chat view to request for help, and inline chat. Developers can try the new abilities by using the GitHub Copilot Nightly extension and the VS Code Experts Develop. For chat capabilities, designers likewise need to sign up for the GitHub Copilot Chat waitlist. This deeper integration with Copilot remains in a sneak peek state.A new GitHub integration now allows VS Code users to copy deep links for an editor line or range from the editor gutter when operating in a GitHub repository. In the desktop version of VS Code, developers require to set up the GitHub Pull Requests and Issues extension to produce GitHub Permalinks and HEAD links from the editor seamless gutter.
In vscode.dev, the online variation of VS Code, deep links for GitHub repos are readily available out of the box.Visual Studio Code 1.77 can be downloaded for Windows, Linux, or macOS from the task site. Also in VS Code 1.77: Users can more conveniently refactor Python code with the Pylance extension for Python language assistance. This is done by means of a new”Move sign to “Code Action. The editor now can suggest extensions based upon file content. For instance, if a Python file is opened that has notebook cells syntax, the editor recommends the Jupyter extension to deal with these cells. Designers can enable “Format on save “for note pads, which will format the entire notebook when saved. VS Code 1.77 follows the release earlier this month of VS Code 1.76, which brought usability enhancements to configuration profiles and remote development.
- Copyright © 2023 IDG Communications, Inc. Source