Issue #49 (Features on vscode.dev)03/29/23
If you haven't yet tried the web version of VS Code, which you can try by visiting the URL
vscode.dev, it's definitely something you'll want to put on your radar as the VS Code team continues to make improvements to it.
Here are some tips and info on vscode.dev (AKA
VS Code for the Web) just to bring you up to speed with a few of its capabilities.
VS Code for the Web has a very
similar UI to the desktop version of VS Code, with many of the same features including search, syntax highlighting, and even extension support. You can open repositories, forks, and pull requests via GitHub and Azure Repos (currently in preview), and you can work with code stored on your local machine.
As the VS Code for Web docs point out, it's
recommended to use the Web version for "lightweight" or "simpler" code changes. If you need to do things like run, build, or debug code, or require use of the terminal, it's recommended to use the desktop version instead.
You can navigate to edit any GitHub repository via your browser's URL field, basically using the URL as an API. For example you can visit the repo for React.js by entering:
vscode.dev/github/facebook/react in the URL field. Just use the format
vscode.dev/github/user/repo/.
When first trying to navigate to a GitHub repo, you'll have to give permission to the GitHub VS Code extension, which you'll only have to do once.
Another cool thing you can do with VS Code for the Web is
try out different VS Code themes, again by simply altering the URL. In this case the URL can be changed using /theme/theme-name.
For example, here are some themes you can try directly on VS Code for the Web right now:
And if a particular theme extension has multiple themes available (like the GitHub one shown above), simply add the theme name to the end of the URL, after the extension name, otherwise VS Code for Web will select the first theme in the options. For example here's the one for
GitHub Dark High Contrast.
So while it does have limitations, the web version of VS Code is something to keep an eye on and use from time to time.
Now on to this week's hand-picked links!