Visual Studio Code: Difference between revisions

From miki
Jump to navigation Jump to search
 
Line 15: Line 15:
:* Drag the window bottom right corner (there are two handles for the black and white bg).
:* Drag the window bottom right corner (there are two handles for the black and white bg).
:* Save the file
:* Save the file

== Tips ==
=== Copy with Syntax Highlighting ===
# {{kb|Ctrl+Shift+p}} to open the '''Command Palette'''.
# Type / Select <code>Copy With Syntax Highlighting</code>.


== Troubleshooting ==
== Troubleshooting ==

Latest revision as of 05:12, 21 October 2024

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"