Source code editor: Visual Studio Code 1.60 brings ML-based speech recognition



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.

Last month VS Code 1.59 introduced the automatic recognition of programming languages ​​based on the JavaScript library for machine learning TensorFlow.js and the machine learning model based on Guesslang as a preview function. There it was still necessary to activate the feature manually. In the current version 1.60, on the other hand, it is activated by default and has also received the new functionality of being able to recognize the programming language used in files without a file extension.

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.

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.

Visual Studio Code 1.60 introduces syntax highlighting for brackets.

(Image: Microsoft)

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.

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.




Leave A Reply