Menu
Visual Studio Code adds Workplace Trust for code editing safety

Visual Studio Code adds Workplace Trust for code editing safety

Latest version of Microsoft’s editor also focuses on debugging capabilities.

Credit: Dreamstime

The latest version of Microsoft’s Visual Studio Code editor, Version 1.57, is now available, with code execution security a key capability.

Published June 10 and also known as the May 2021 release of the source code editor, Visual Studio Code 1.57 can be downloaded from visualstudio.com for Windows, Linux, and Mac.

A Workplace Trust capability in the upgrade is intended to provide for safe browsing and editing of code, regardless of the source or original authors. Workplace Trust lets developers decide whether project folders should allow or restrict automatic code execution.

With Workplace Trust, an extra layer of security is provided when working with unfamiliar code when a workspace is open in Restricted Mode. This mode tries to prevent automatic code execution by disabling or limiting the operation of several VS Code features, including tasks, debugging, workspace settings, and extensions.

VS Code 1.57 also includes capabilities ranging from browser debugging to assistance in getting started.

Specific capabilities include Microsoft Edge Developer Tools for Edge browser debugging are integrated directly into the editor. These tools integrate with the JavaScript debugger to provide a DOM, style, and network inspector for browser debugging, accessible via an “inspect” icon in the debug toolbar.

Furthermore, the JavaScript debugger now supports renamed identifiers in source maps, which is particularly useful for debugging minified code. JSDoc @link tags are supported in JavaScript and TypeScript comments, enabling the creation of clickable links to a symbol in a document while the editor also ships with TypeScript 4.3.2.

Delving deeper, the “go to definition” capability for non-JavaScript/TypeScript files lets developers quickly jump to images and stylesheets, supported by a new Getting Started experience which assists with set-up and learning about the editor.

Most of the Notebook API has been finalised and the Remote Repositories extension is now downloadable from Visual Studio Marketplace, which enables developers to see remote repositories in the Remote Explorer to open or compare any uncommitted changes. These changes can be moved from one branch to another.

In addition, terminal tabs, now enabled by default, can be dragged and dropped to allow for rearranging. Tab colours can be changed for quick navigation and differentiation between tabs.

Visual Studio Code 1.57 follows the May release of Visual Studio Code 1.56. The popular editor leverages the GitHub Electron framework for writing cross-platform applications via web technologies.


Tags Microsoftvisual studio

Brand Post

Show Comments
 

Events

05 Aug
Channel Asia WIICTA 2021
View all events