VSCode Cheat Sheet and Knowledgebase: Unterschied zwischen den Versionen

Aus MattWiki
K (Matt verschob die Seite VSCode Shortcuts Cheat Sheet nach VSCode Cheat Sheet and Knowledgebase, ohne dabei eine Weiterleitung anzulegen)
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 5: Zeile 5:
|-
|-
|Ctrl + Shift + P
|Ctrl + Shift + P
|Commant Palette
|Command palette
|-
|-
|Ctrl + ,
|Ctrl + ,
Zeile 15: Zeile 15:
|Ctrl  -
|Ctrl  -
|Zoom out
|Zoom out
|-
|Ctrl + K Ctrl + T
|Theme selector
|}
|}


Zeile 129: Zeile 132:


== VSCode Configuration ==
== VSCode Configuration ==
If not specified otherwise in the following sections always go to Settings first or press <code>Ctrl + ,</code>.


=== Visibility in Explorer ===
=== Visibility in Explorer ===
Hiding or making files or folders visible is implemented with excludes in VSCode.
Hiding or making files or folders visible is implemented with excludes in VSCode.


Go to: Settings
Go to section: '''Files:''' '''Exclude''' for all excluding options or specifically for '''Files Exclude.'''
 
=== Don't Show Suggestions ===
Section '''Editor: Quick Suggestions'''
 
Disable all for Intellisense. By CTRL + SPACE it can be show again
 
=== Don't Show Parameter Hover ===
Section: '''Editor > Parameter Hints: Enabled'''
 
=== Suggest Function Parameters with Parenthesis ===
Section: '''JavaScript > Suggest: Complete Function Calls'''
 
Activate: Complete functions with their parameter signature.
 


Search for '''Exclude''' for all excluding options or specifically for '''Files Exclude.'''
[[Kategorie:Development]]
[[Kategorie:Development]]

Aktuelle Version vom 26. August 2024, 16:59 Uhr

Application Wide Shortcuts

Shortcut Action
Ctrl + Shift + P Command palette
Ctrl + , Open settings
Ctrl + Zoom in
Ctrl - Zoom out
Ctrl + K Ctrl + T Theme selector

Editor Shortcuts

Window Control

Shortcut Action
Ctrl + 1 Go to first editor panel
Ctrl + 2 / 3 Go to second / third editor panel, create one if not present
Ctrl + ^ Split editor panel
Ctrl + W Close file
Ctrl + Shift + T Reopen last closed file
Ctrl + Tab Next tab
Ctrl + B Toggle sidebar visibility

Navigation

Shortcut Action
Alt + ↑/↓ Move line up/down
Shift + Alt + ↑/↓ Duplicate line up/down
Ctrl + Shift + K Delete line
Ctrl + Z Undo

Multi Cursor Editing

Shortcut Action
Alt + Click Add cursor
Ctrl + D Multi-select word
Ctrl + Shift + Alt + ↑/↓ Add second cursor in the line above or below

Coding

Shortcut Action
Ctrl + # Comment / Uncomment line
Shift + Alt + F Format document
Ctrl + Space Show suggestions

File Management

Shortcut Action
Ctrl + # Comment / Uncomment line
Shift + Alt + F Format document
Ctrl + Space Show suggestions

Terminal Shortcuts

Shortcut Action
Ctrl + ö / Ctrl + ` Toggle terminal panel / Switch to terminal panel, if in editor
Ctrl + Shift + ö Create second terminal tab
Ctrl + L Clear Terminal
Ctrl + Shift + 5 Split Terminal

VSCode Configuration

If not specified otherwise in the following sections always go to Settings first or press Ctrl + ,.

Visibility in Explorer

Hiding or making files or folders visible is implemented with excludes in VSCode.

Go to section: Files: Exclude for all excluding options or specifically for Files Exclude.

Don't Show Suggestions

Section Editor: Quick Suggestions

Disable all for Intellisense. By CTRL + SPACE it can be show again

Don't Show Parameter Hover

Section: Editor > Parameter Hints: Enabled

Suggest Function Parameters with Parenthesis

Section: JavaScript > Suggest: Complete Function Calls

Activate: Complete functions with their parameter signature.