Paul Krill
Editor at Large

Visual Studio Code editor moves forward on language detection

news
Sep 3, 20212 mins

Microsoft editor also supports native bracket pair colorization and TypeScript 4.4.

'Hello' written in many languages on chalkboard.
Credit: Warchi / Getty Images

With the latest release of its Visual Studio Code editor, Microsoft is highlighting capabilities such as automatic language detection, now enabled by default.

Visual Studio Code 1.60, also known as the August 2021 version of the editor, was published September 2, and it can be downloaded from the project website. In this release, machine learning-based automatic language detection sets the language mode for untitled files based on contents. Previewed in Visual Studio Code 1.59 last month, the capability now moves to a default mode. Also, language detection has been expanded to include files that do not have a file extension. Elsewhere in the 1.60 release:

  • The editor now supports native bracket pair colorization. This feature was implemented to address performance issues of the CoenraadS Bracket Pair Colorizer extension.
  • Fenced code blocks in setting descriptions now are syntax-highlighted.
  • Box drawing and block element characters now use pixel-perfect custom glyphs instead of using the font when GPU acceleration is activated. One result is that boxes are drawn without gaps, even if the developer sets line height or letter spacing in the terminal.
  • For debugging, developers can set the value of a watched expression in the WATCH view using the Set Value action in the context menu.
  • For the UI, VS Code now detects links for values also in the VARIABLES view, WATCH view, and Debug hover. When a variable’s value is a link, it will be easier to follow the link by clicking on it.
  • TypeScript 4.4 is included, supporting capabilities such as static blocks and new strictness options.
  • Through a new testing API, the Python extension has revamped its testing feature, with developers now having a more stable experience for test discovery, navigation, and status rendering.
Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author