Source Code Editor: Visual Studio Code 1.60 Brings ML-Based Speech Recognition

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.

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

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.

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.

Visual Studio Code 1.60 introduces syntax highlighting for brackets.

(Image: Microsoft)

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.

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.


(May)

About Jon Moses

Check Also

Court of Appeal says AI cannot be the inventor of a patent • The Register

The England and Wales Court of Appeal this week dismissed a man’s plea to have …

Leave a Reply

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