Przejdź do treści

VSCode in 5 min

Useful keyboard shortcuts

Windows Linux

Code editing

Shortcut Description
Ctrl+S Saves the current file
Ctrl+Z Undoes the last change
Ctrl+Shift+Z Redoes an undone change
Alt+Up / Alt+Down Moves the current line of code up or down
Shift+Alt+Down Copies the current line below
Ctrl+/ Adds or removes a line comment

Search, navigation, and more

Shortcut Description
Ctrl+F Searches for text in the current file
Ctrl+Shift+F Searches for text across all project files
Ctrl+P