Raccourcis et workflows complets de Visual Studio pour le développement .NET sur Windows et macOS.
Raccourcis généraux
| Windows | macOS | Description |
|---|
Ctrl+Shift+N | Cmd+Shift+N | Nouveau Projet |
Ctrl+N | Cmd+N | Nouveau fichier |
Ctrl+O | Cmd+O | Ouvrir le fichier |
Ctrl+S | Cmd+S | Sauvegarder |
Ctrl+Shift+S | Cmd+Shift+S | Sauvegarder tout |
Ctrl+W | Cmd+W | Fermer le document |
Alt+F4 | Cmd+Q | Sortie |
Ctrl+Z | Cmd+Z | Annuler |
Ctrl+Y | Cmd+Shift+Z | Refaire |
Navigation
| Windows | macOS | Description |
|---|
Ctrl+G | Cmd+L | Aller à la ligne |
Ctrl+, | Cmd+, | Aller à Tout |
Ctrl+T | Cmd+T | Aller à Type |
Ctrl+Shift+T | Cmd+Shift+T | Accéder à Fichier |
F12 | F12 | Aller à la Définition |
Ctrl+F12 | Cmd+F12 | Aller à Implementation |
Shift+F12 | Shift+F12 | Trouver toutes les références |
Ctrl+Tab | Cmd+Tab | Naviguer vers l’avant |
Ctrl+Shift+Tab | Cmd+Shift+Tab | Naviguer vers l’arrière |
Édition
| Windows | macOS | Description |
|---|
Ctrl+Space | Ctrl+Space | IntelliSense |
Ctrl+Shift+Space | Ctrl+Shift+Space | Informations sur les Paramètres |
Ctrl+K, Ctrl+I | Cmd+K, Cmd+I | Informations Rapides |
Ctrl+. | Cmd+. | Actions rapides |
Ctrl+K, Ctrl+C | Cmd+K, Cmd+C | Sélection de commentaire |
Ctrl+K, Ctrl+U | Cmd+K, Cmd+U | Décommenter la sélection |
Ctrl+K, Ctrl+D | Cmd+K, Cmd+D | Formater le document |
Ctrl+K, Ctrl+F | Cmd+K, Cmd+F | Sélection du Format |
Alt+Up/Down | Option+Up/Down | Déplacer la ligne vers le haut/bas |
Shift+Alt+Up/Down | Shift+Option+Up/Down | Copier Ligne Haut/Bas |
Débogage
| Windows | macOS | Description |
|---|
F5 | F5 | Commencer le Debugging |
Ctrl+F5 | Cmd+F5 | Démarrer Sans Débogage |
Shift+F5 | Shift+F5 | Arrêter le Debugging |
Ctrl+Shift+F5 | Cmd+Shift+F5 | Redémarrer le Debugging |
F9 | F9 | Basculer Point d’arrêt |
F10 | F10 | Pas à Pas |
F11 | F11 | Entrez |
Shift+F11 | Shift+F11 | Sortir |
Ctrl+Alt+Q | Cmd+Option+Q | QuickWatch |
Compilation et exécution
| Windows | macOS | Description |
|---|
Ctrl+Shift+B | Cmd+Shift+B | Construire Solution |
F6 | F6 | Construire un projet |
Ctrl+Break | Cmd+Break | Annuler la Build |
F7 | F7 | Voir Code |
Shift+F7 | Shift+F7 | Concepteur de vue |