Visual Studio Code: Difference between revisions

From miki
Jump to navigation Jump to search
(Redirected page to Visual studio)
 
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Visual Studio Code]] is the new cross-platform editor from Microsoft based on Electron.
#REDIRECT [[Visual studio]]

== Links ==
External links
* https://code.visualstudio.com/

On this wiki:
* [[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 ==
=== Cannot maximimize window in X11 server / SSH-forwarded session ===
See [https://github.com/Microsoft/vscode/issues/65232 issue #65232]. The fix (File &rarr; Preferences &rarr; Settings):

<source lang="text">
"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 &rarr; Preferences &rarr; Settings):

<source lang="text">
"keyboard.dispatch": "keyCode"
</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

  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"