# Visual Studio Code
code.visualstudio.com/docs (opens new window)
code /path/project
Keyboard Shortcuts(Windows)
- File -
keybindings.json
- Official pdf (opens new window)
- Docs-keybindings (opens new window)
- My cheatsheet (opens new window)
# Why Vscode ?
code.visualstudio.com/learn (opens new window)
- Codespaces (Github's vscode in browser)
- Live collaboration (Liveshare ext)(with audio/chat)
- Coding Intellisense
- Debug
- Themes
- Compare code using diff
- Keyboard shortcuts
- Extensions
- Remote dev environments(remote-wsl/ssh/containers)
- Port forwarding
# Backup
- Inbuilt settings sync
- Settings sync extension
- Gist : umeshmk/bd1aba52fc5a47b02701ce8a0b4cce92 (opens new window)
- Needs
- To upload - github token (permission to create gist only)
- To download - gist id (token needed only if uploading or private gist)
# Fonts & Icons
- 'JetBrains Mono', 'Cascadia Code'
- Need to Enable Ligatures
- File icons : Can be changed to none, minimal, fullset (vscode, material)
# Themes
Stackoverflow - Dark or white theme (opens new window)
# Color effect on Eyes
- Blue (Worst for eyes)(High energy closer to Ultraviolet)
- Yellow is most tiring
- Red (Least energy closer to infrared)
# We have 3 options
- Dark background (Good syntax highlighting)
- Light background
- Computer Glasses/Glares
# Context switching
- Monitor
- Vscode coding
- Chrome browser
- Terminal
- Environment
- Day
- Night
- Artificial lighting
- Notebooks/Prints
# Tips
- Take break after 1 hour
- Brightness
# Custom themes
# Uninstall/Reset
- Windows - Delete %APPDATA%\Code and %USERPROFILE%.vscode.
- Linux - Delete $HOME/.config/Code and ~/.vscode.