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

--link (beta) 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.

Hashed Password

dclong/docker-vscode-server

Format Source Code

Format manually: Shift + Alt + F (Windows/Linux) or Shift + Option + F (macOS) Please refer to https://code.visualstudio.com/docs/editor/codebasics#_formatting and https://stackoverflow.com/questions/39494277/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

Visual Studio Code Server Documentation

Snippets in Visual Studio Code

VSCode Shortcuts

VSCode Server Guidance

https://dev.to/babak/how-to-run-vs-code-on-the-server-3c7h

Securing Visual Studio Code Server

Comments