Microsoft has released Visual Studio Code 1.60. The new version of the open source code editor extends automatic recognition of programming languages as well as syntax highlighting and has experimental features in its baggage. This includes experimental support for using all of the debugging features in VS Code for debugging Jupyter notebooks.
Automatic voice recognition
The Visual Studio Code team justified the introduction of speech recognition by the fact that not all users know how to set the language mode, and setting the language used opens up additional features such as syntax highlighting and recommendations for extensions. Voice recognition is also said to provide benefits for power users, as the step of setting the voice mode is not necessary if they are using an unnamed text editor for quick notes.
Extended syntax highlighting and inline suggestions
VS Code 1.60 has revised syntax highlighting in various places. Among other things, the editor now supports native coloring of parenthesis pairs using
"editor.bracketPairColorization.enabled": true. Up to six colors can be selected, which can also be inserted into themes and are visible in real time.
The editor also offers online suggestions for autocomplete. For this, the suggestion preview must be activated (
"editor.suggest.preview": true). Then not only a suggestion appears in the AutoComplete widget, accessed using the arrow keys and Tongue can be selected, but – if available – also an online suggestion displayed in italics, accessible by pressing the key TongueButton.
New preview features
VS Code introduces a number of experimental and preview features each month. This time, support for all debugging features of VS Code for Jupyter Notebooks is included as an experimental feature. To use it, the core
ipykernel must be selected in version 6 or higher. After adjustment
"jupyter.experimental.debugging": true and setting a breakpoint, the command Debug cell Choose.
As a preview feature, VS Code 1.60 also has the ability to “lock” editor groups to prevent users from accidentally covering a terminal editor with a file editor – because the files in the active editor group s ‘open by default so that a new file can also overlap an active terminal. New Lock groupThe function is available not only for terminal editors but for all types of editors. New editors only open in locked groups if a user explicitly places them there. A lock icon in the top right action toolbar indicates that a group is locked.
Visual Studio Code is both a stable release and an Insiders edition available for Windows, macOS, and Linux. All new features in version 1.60 can be found in the release notes.