VS Code
Table of Contents
- Introduction
- Why I switched from
Sublime
toVSCode
? - Some important commands
- Some General Issues & Its Fix
- Useful script:
Introduction
Why I switched from Sublime
to VSCode
?
Some important commands
Editor
- Select the word where the cursor is:
CMD + D
- Select all occurrences of find match:
CMD + SHIFT + L
- Select all text within the brackets:
CTRL + SHIFT + RIGHT ARROW
Others
- Quick Open:
CMD + P
1.
Some General Issues & Its Fix
Failure to connect to VS Code Server
Fix: Remove the /home/<USER>/.vscode-server
folder and retry. Then it should work.
Reference: https://github.com/microsoft/vscode-remote-release/issues/3575#issuecomment-690826257
failed to connect to the remote extension host server (error websocket close with status code 1006)
Fix:
-
In the
.ssh/config
file on the REMOTE host add following lines:AllowAgentForwarding yes AllowTcpForwarding yes
Reference: https://github.com/microsoft/vscode-remote-release/issues/5352#issuecomment-913228691
Useful script:
Enjoy Reading This Article?
Here are some more articles you might like to read next: