Visual Studio Code: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
* [[Visual studio]] |
* [[Visual studio]] |
||
== Extensions == |
|||
=== Polacode === |
|||
* Extension to capture code snippets. |
|||
* {{kb|Ctrl-Shift-P}} then <code>polacode</code>: |
|||
:* {{kb|Ctrl-C}} the code to take, and {{kb|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 === |
|||
# {{kb|Ctrl+Shift+p}} to open the '''Command Palette'''. |
|||
# Type / Select <code>Copy With Syntax Highlighting</code>. |
|||
== Troubleshooting == |
== Troubleshooting == |
||
=== Cannot maximimize window in X11 server / SSH-forwarded session === |
=== Cannot maximimize window in X11 server / SSH-forwarded session === |
||
See [https://github.com/Microsoft/vscode/issues/65232 issue #65232]. The fix: |
See [https://github.com/Microsoft/vscode/issues/65232 issue #65232]. The fix (File → Preferences → Settings): |
||
<source lang="text"> |
<source lang="text"> |
||
"window.titleBarStyle": "native" |
"window.titleBarStyle": "native" |
||
</source> |
|||
=== AltGr moves the cursor to the left in X11 server / SSH-forwarded session === |
|||
See [https://github.com/Microsoft/vscode/issues/24783 issue #24783]. The fix (File → Preferences → Settings): |
|||
<source lang="text"> |
|||
"keyboard.dispatch": "keyCode" |
|||
</source> |
</source> |
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
- Ctrl+Shift+p to open the Command Palette.
- 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"