As VS Code Hits v1.69, Microsoft Announces VS Code Server
This week, in addition to announcing the regular monthly Visual Studio Code update (now at v1.69), Microsoft added a surprise: a private preview of VS Code Server, providing backend functionality that allows the editor to be run remotely or in a browser.
It’s the latest innovation from VS Code, which saw remote development extensions arrive in 2019, followed by the 2020 debut of GitHub Codespaces, which allows developers to use VS Code in a browser to develop apps. on a remote virtual machine hosted in the cloud. This was followed by VS Code for the Web, which provides an online version at https://vscode.dev.
This was all possible thanks to the code editor’s multi-process design, where one process is used for frontend typing and another for backend services such as extension hosting, terminal, debugging, etc. .
“Today we’re releasing a private preview of the backend service that makes it all possible, the ‘VS Code Server’, along with a CLI that makes it easy to install, update, manage, and connect to the service” , the company said. in a July 7 blog Publish. “You can install the server wherever you want (a local dev machine, cloud VM, etc.) and access it securely through the browser using VS Code for the Web (also known as vscode .dev), without the hassle of setting up SSH or https (although you can also do that if you want 😊).”
Developers can request to participate in the private preview here.
On the same day as this announcement, VS Code v1.69 (June 2022 Update) arrived, with these highlights:
- 3 way merge editor – Resolve merge conflicts in VS Code: Work continued on this feature, which allows developers to quickly resolve Git merge conflicts.
- command center – New user interface for finding files, executing commands and navigating cursor history: the command center, which replaces the normal title bar and allows developers to quickly find files in a project, has been tweaked and is now ready to use, activated via
- Do not disturb mode – Disable non-critical notification pop-ups: “The new Do Not Disturb mode hides all error-free notification pop-ups when enabled. Progress notifications will be automatically displayed in the status bar. Hidden notifications are still available in Notification Center.”
- Toggle light/dark themes – Quickly switch between favorite light and dark themes: Users can now switch between their favorite light and dark themes. Adopted by Preferences: switch between light/dark themesit switches to a dark theme if triggered while in a light theme, and vice versa.
- Terminal shell integration – View command status, run recent commands and more: Preview output is shell integration for PowerShell, bash and zsh. “Shell integration allows VS Code’s terminal to better understand what’s going on inside the shell in order to enable more functionality.”
- Task Exit Decorations – Highlights task success or failure exit codes: this builds on decorations previously added to the terminal buffer and preview rule, thanks to the shell integration feature mentioned above above. It improves terminal navigation.
- Git Commit action button – Configure your default Git Commit action: this follows previously added items Publish and sync changes “action buttons” for Git repositories. The team added a Commit button that has a primary action and a set of secondary actions.
- Step Into Target debugging support – Allows you to directly access functions when you are paused: the team has improved the user interface for this feature:
- Right-click on a target region on a source line and select Enter the target will automatically enter the target region, if there is one.
- There is a new order Debug: enter the target available in the command palette and with the keyboard shortcut Ctrl+F11.
- Color theme tester – Use vscode.dev to preview color themes: The theme tester – used to showcase and try out a color theme without installing it – can now be used with built-in themes in VS Code. Developers can use
vscode.theme-defaultsfor the extension ID placeholder, then the name of the theme to extract.
- VS Code Server Overview – Run the same server as used for remote development” You have already read all about it above.
More information about the new update can be found in a recording of live v1.69 coming out party.