Visual Studio Code

From miki
Jump to navigation Jump to search

Visual Studio Code is the new cross-platform editor from Microsoft based on Electron.

Links

External links

On this wiki:

Extensions

Polacode

  • Extension to capture code snippets.
  • Ctrl-Shift-P then polacode:
  • Ctrl-C the code to take, and Ctrl-V in polacode window.
  • Drag the window bottom right corner (there are two handles for the black and white bg).
  • Save the file

Tips

Copy with Syntax Highlighting

  1. Ctrl+Shift+p to open the Command Palette.
  2. Type / Select Copy With Syntax Highlighting.

Troubleshooting

Cannot maximimize window in X11 server / SSH-forwarded session

See issue #65232. The fix (File → Preferences → Settings):

"window.titleBarStyle": "native"

AltGr moves the cursor to the left in X11 server / SSH-forwarded session

See issue #24783. The fix (File → Preferences → Settings):

"keyboard.dispatch": "keyCode"