Aller au contenu

Studio visuel

Copier toutes les commandes Générer PDF

Raccourcis et workflows Visual Studio complets pour . Développement NET sur Windows et macOS.

Raccourcis généraux

Windows macOS Description
Ctrl+Shift+N Cmd+Shift+N New Project
Ctrl+N Cmd+N New File
Ctrl+O Cmd+O Open File
Ctrl+S Cmd+S Save
Ctrl+Shift+S Cmd+Shift+S Save All
Ctrl+W Cmd+W Close Document
Alt+F4 Cmd+Q Exit
Ctrl+Z Cmd+Z Undo
Ctrl+Y Cmd+Shift+Z Redo
Windows macOS Description
Ctrl+G Cmd+L Go to Line
Ctrl+, Cmd+, Go to All
Ctrl+T Cmd+T Go to Type
Ctrl+Shift+T Cmd+Shift+T Go to File
F12 F12 Go to Definition
Ctrl+F12 Cmd+F12 Go to Implementation
Shift+F12 Shift+F12 Find All References
Ctrl+Tab Cmd+Tab Navigate Forward
Ctrl+Shift+Tab Cmd+Shift+Tab Navigate Backward

Édition

Windows macOS Description
Ctrl+Space Ctrl+Space IntelliSense
Ctrl+Shift+Space Ctrl+Shift+Space Parameter Info
Ctrl+K, Ctrl+I Cmd+K, Cmd+I Quick Info
Ctrl+. Cmd+. Quick Actions
Ctrl+K, Ctrl+C Cmd+K, Cmd+C Comment Selection
Ctrl+K, Ctrl+U Cmd+K, Cmd+U Uncomment Selection
Ctrl+K, Ctrl+D Cmd+K, Cmd+D Format Document
Ctrl+K, Ctrl+F Cmd+K, Cmd+F Format Selection
Alt+Up/Down Option+Up/Down Move Line Up/Down
Shift+Alt+Up/Down Shift+Option+Up/Down Copy Line Up/Down

Déboguement

Windows macOS Description
F5 F5 Start Debugging
Ctrl+F5 Cmd+F5 Start Without Debugging
Shift+F5 Shift+F5 Stop Debugging
Ctrl+Shift+F5 Cmd+Shift+F5 Restart Debugging
F9 F9 Toggle Breakpoint
F10 F10 Step Over
F11 F11 Step Into
Shift+F11 Shift+F11 Step Out
Ctrl+Alt+Q Cmd+Option+Q QuickWatch

Construire et exécuter

Windows macOS Description
Ctrl+Shift+B Cmd+Shift+B Build Solution
F6 F6 Build Project
Ctrl+Break Cmd+Break Cancel Build
F7 F7 View Code
Shift+F7 Shift+F7 View Designer