VS Code

VS Code Raccourcis

Raccourcis clavier de Visual Studio Code pour Windows, macOS et Linux. v1.88

Source: Documentation officielle · Mis à jour 2026-06

Raccourcis
10
Catégories

Guide du cheat sheet

VS Code shortcuts worth learning first

Cette page rassemble 81 raccourcis clavier consultables pour VS Code dans 10 catégories. Commencez par les catégories principales, puis imprimez la fiche si vous voulez la garder à portée de main.

  • Show Command PaletteCtrlShiftP
  • Cut line (empty selection)CtrlX
  • Insert cursor above/belowAltCtrl↑/↓
  • RechercherCtrlF
  • Aller a la ligneCtrlG
  • Close editorCtrlW

General

6 raccourcis
Show Command Palette
CtrlShiftP
Quick Open / Go to File
CtrlP
Nouvelle fenêtre
CtrlShiftN
Fermer la fenetre
CtrlShiftW
User Settings
Ctrl,
Raccourcis clavier
CtrlKCtrlS

Edition

19 raccourcis
Cut line (empty selection)
CtrlX
Copy line (empty selection)
CtrlC
Déplacer la ligne
Alt↑/↓
Copy line up/down
AltShift↑/↓
Supprimer la ligne
CtrlShiftK
Insert line below
CtrlEnter
Insert line above
CtrlShiftEnter
Aller à la parenthèse correspondante
CtrlShift\
Indent / outdent line
Ctrl]Ctrl[
Go to beginning of line
Home
Go to end of line
End
Go to beginning of file
CtrlHome
Go to end of file
CtrlEnd
Commenter/décommenter la ligne
Ctrl/
Toggle block comment
AltShiftA
Annuler
CtrlZ
Retablir
CtrlY
Formater le document
AltShiftF
Formater la selection
CtrlKCtrlF

Multi-curseur et sélection

7 raccourcis
Insert cursor above/below
AltCtrl↑/↓
Undo last cursor
CtrlU
Select all occurrences of current selection
CtrlShiftL
Select all occurrences of current word
CtrlF2
Add selection to next find match
CtrlD
Select current line
CtrlL
Column (box) selection
ShiftAltdrag

Recherche et remplacement

8 raccourcis
Rechercher
CtrlF
Remplacer
CtrlH
Find next/previous
F3ShiftF3
Toggle case-sensitive
AltC
Toggle regex
AltR
Toggle whole word
AltW
Search dans files
CtrlShiftF
Replace dans files
CtrlShiftH

Navigation

9 raccourcis
Aller a la ligne
CtrlG
Go to symbol in file
CtrlShiftO
Go to symbol in workspace
CtrlT
Aller a la definition
F12
Peek definition
AltF12
Open definition to side
CtrlKF12
Go back / forward
AltAlt
Go to next error/warning
F8
Show all references
AltShiftF12

Gestion de l'éditeur

6 raccourcis
Close editor
CtrlW
Close folder
CtrlKF
Split editor
Ctrl\
Focus 1st/2nd/3rd editor group
Ctrl1/2/3
Move editor left/right
CtrlShiftPgUp/PgDn
New editor group to the left/right
CtrlK←/→

Gestion des fichiers

7 raccourcis
Nouveau fichier
CtrlN
Ouvrir le fichier
CtrlO
Enregistrer
CtrlS
Enregistrer sous
CtrlShiftS
Tout enregistrer
CtrlKS
Revert file
Close all editors
CtrlKCtrlW

Affichage

7 raccourcis
Basculer en plein écran
F11
Afficher/masquer la barre latérale
CtrlB
Afficher/masquer le terminal
Ctrl`
Toggle problems panel
CtrlShiftM
Zoom in/out
Ctrl=Ctrl-
Réinitialiser le zoom
Ctrl0
Zen mode
CtrlKZ

Debug

7 raccourcis
Toggle breakpoint
F9
Start / continue debug
F5
Stop debug
ShiftF5
Step over
F10
Step into
F11
Step out
ShiftF11
Show hover
CtrlKCtrlI

Terminal integre

5 raccourcis
Create new terminal
CtrlShift`
Copier la sélection
CtrlC
Scroll up/down
Ctrl↑/↓
Scroll page up/down
ShiftPgUp/PgDn
Scroll to top/bottom
CtrlHome/End

Questions fréquentes

Quel est le moyen le plus rapide de trouver les raccourcis VS Code sur cette page?

Utilisez la barre de recherche ou appuyez sur /, puis tapez une action comme show command palette.

Puis-je imprimer cette fiche de raccourcis VS Code?

Oui. Utilisez le bouton Imprimer / PDF ou la commande d'impression du navigateur pour sauvegarder une fiche compacte.

Cette page inclut-elle les raccourcis Windows et Mac pour VS Code?

Oui. Utilisez les onglets OS pour passer des raccourcis Windows aux raccourcis macOS. Par exemple, show command palette est Ctrl+Shift+P sur Windows et ⌘⇧P sur macOS si disponible.

Voir aussi

Aucun raccourci ne correspond à la recherche.