Microsoft has released Visual Studio Code 1.60. The new release of the open source source code editor extends the automatic recognition of programming languages ââand syntax highlighting and has experimental features in its luggage. This includes experimental support for using all of the debugging features in VS Code to debug Jupyter notebooks.
Automatic speech recognition
The Visual Studio Code team justified the introduction of speech recognition by saying that not all users are aware of the language mode setting and that the language setting used opens up additional features such as syntax coloring and recommendations for extensions. Speech recognition is also said to offer advantages for power users, as there is no need to set the speech mode if they use a nameless text editor for quick notes.
Extended syntax highlighting and inline suggestions
VS Code 1.60 has revised the syntax highlighting in various places. Among other things, the editor now supports the native coloring of pairs of brackets
"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 inline auto-complete suggestions. To do this, the preview for suggestions must be activated (
"editor.suggest.preview": true). Then not only does a suggestion appear in the autocomplete widget, which can be accessed using the arrow keys and. can be called tab selectable, but – if available – also an inline suggestion shown in italics, which can be called up by pressing the tabButton.
New preview functions
VS Code offers a number of experiment and preview features each month. This time, support for all VS Code debugging functions for Jupyter Notebooks is included as an experimental function. To use it, the kernel
ipykernel must be selected in version 6 or higher. After hiring
"jupyter.experimental.debugging": true and setting a breakpoint, the command Debug cell Select.
As a preview function, VS Code 1.60 also offers the option of “locking” editor groups to prevent users from accidentally covering a terminal editor with a file editor – since files in the active editor group are opened by default so that a new file can also be overlaid an active terminal. The new Lock groupThe function is not only available 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 action toolbar at the top right indicates that a group is locked.
Visual Studio Code is available as a stable release as well as in an Insiders Edition for Windows, macOS and Linux. All new features in version 1.60 can be found in the release notes.