Ben Chuanlong Du's Blog

It is never too late to learn.

Visual Studio Code Server

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Advanced Tips

  1. The option --link
    allows you to securely bind code-server via Coder Cloud with the passed name. You'll get a URL like https://myname.coder-cloud.com at which you can easily access your code-server instance. Authorization is done via GitHub.

  2. Hashed Password

  3. dclong/docker-vscode-server

Format Source Code

Format manually: Shift + Alt + F (Windows/Linux) or Shift + Option + F (macOS) Please refer to Visual Studio Code - Formatting and How do you format code on save in VS Code for more discussions.

Auto Activate Python Virtual Environment

Auto activate virtual environment in Visual Studio Code

Setup Password

https://github.com/cdr/code-server/issues/940

Settings

https://github.com/cdr/code-server/issues/965

https://github.com/cdr/code-server/issues/148

Extensions

Please refer to Useful Visual Studio Code Extensions .

Debug Python Project

Shortcuts

https://github.com/cdr/code-server/issues/112

https://github.com/cdr/code-server/issues/924

Useful Tools

https://github.com/cdr/sshcode

Snippets

Snippets in Visual Studio Code

References

Comments