Aller au contenu

CLion

Raccourcis et workflows complets de CLion pour le développement C/C++ avec CMake, débogage et systèmes embarqués.

Raccourcis généraux

Windows/LinuxmacOSDescription
Ctrl+Shift+ACmd+Shift+ATrouver Action
Ctrl+Shift+NCmd+Shift+OAccéder à Fichier
Ctrl+NCmd+OAller en Cours
Ctrl+Shift+Alt+NCmd+Option+OAller à Symbol
Ctrl+ECmd+EFichiers récents
Ctrl+Shift+ECmd+Shift+EEmplacements récents
Ctrl+GCmd+LAller à la ligne
Ctrl+F12Cmd+F12Structure des fichiers
Alt+F1Option+F1Sélectionner Dans
Windows/LinuxmacOSDescription
Ctrl+BCmd+BAller à Declaration
Ctrl+Alt+BCmd+Option+BAller à Implementation
Ctrl+Shift+BCmd+Shift+BAller à Type Declaration
Ctrl+UCmd+UAller à Super Method
Alt+F7Option+F7Trouver les Usages
Ctrl+F7Cmd+F7Rechercher les Usages dans le Fichier
Ctrl+Shift+F7Cmd+Shift+F7Usages en Surbrillance
Ctrl+Alt+F7Cmd+Option+F7Afficher les Usages
Ctrl+ClickCmd+ClickAller à Declaration

Fonctionnalités spécifiques C/C++

Windows/LinuxmacOSDescription
Ctrl+Shift+F10Ctrl+Shift+RConfiguration d’exécution
Alt+Shift+F10Option+Shift+RExécuter Target
Ctrl+Shift+ICmd+Shift+IInclure le fichier
Ctrl+Alt+Shift+TCmd+Option+Shift+TRefactoriser Ceci
F2F2Prochaine Erreur Surlignée
Shift+F2Shift+F2Erreur Précédente Surlignée

Intégration CMake

Windows/LinuxmacOSDescription
Ctrl+Shift+ACmd+Shift+AActions CMake
Ctrl+F9Cmd+F9Construire un projet
Ctrl+Shift+F9Cmd+Shift+F9Reconstruire Projet
Ctrl+Alt+F9Cmd+Option+F9Clean Project

Débogage

Windows/LinuxmacOSDescription
Shift+F9Ctrl+DDéboguer
F8F8Pas à Pas
F7F7Entrez
Shift+F8Shift+F8Sortir
Alt+F9Option+F9Exécuter jusqu’au Curseur
Alt+F8Option+F8Évaluer l’Expression
Ctrl+F8Cmd+F8Basculer Point d’arrêt
Ctrl+Shift+F8Cmd+Shift+F8Afficher les points d’arrêt