Visual Studio Code can now be used directly in a browser

Visual Studio Code logo © Microsoft

Microsoft unveiled a version for Navigator of Visual Studio Code.

The code editor comes in a lighter version, but retains many options from the desktop version.

A lighter version

There are already several sites offering a complete browser-based code editor, but Microsoft has now added its stone to the building by offering a web version of Visual Studio Code. It was created to allow developers to easily and quickly create or modify code, especially on less powerful machines where installing the software is not easy, such as Chromebooks.

Thanks to the API File System Access, supported by Edge and Chrome, browsers can access local files and folders, as well as save changes made. For browsers that are not yet compatible, the task is more difficult. It will only be possible to upload one file at a time and to keep a modification, you will have to upload the file again in its modified version. You will also be able to modify and access files or folders present in a GitHub repository.

However, expect fewer features than in its software version. For example, the console and the debugger are not accessible due to browser restrictions. Some languages ​​will also not be able to take advantage of all the options available in a local installation, but the basics, such as syntax highlighting, will still be present. If you’re a Python, JavaScript, or TypeScript developer, you’ll get a richer experience, with added syntax error hints and auto-completion. For JSON, HTML, CSS, and LESS files, the experience is almost identical to that on the desktop version.

U1 chip detail clarified for Apple AirPods Studio

Easier collaboration

Features have been kept on the web version, such as cosmetic extensions, those for syntax highlighting or even for keyboard shortcuts. With VS Code settings syncing, all you have to do is sign in to your Microsoft account or GitHub to find them in your browser. The company says that more and more extensions will become compatible over time.

The web version uses the possibilities offered by URLs to allow creators of extensions, and in particular of themes, to offer a trial version. Using custom URLs, it will be possible to enjoy a version of VS Code with all the features of an extension without having to install it in your project. Launching a collaboration session with Live Share will become easier, thanks to a simple link sharing, without the guest having to install the software on their device.

Visual Studio Code for the web is already available to all users and, being still in preview, expect many improvements in the coming months.

Source : Microsoft

Related Articles

Back to top button

Adblock Detected

Please consider supporting us by disabling your ad blocker. Thanks.