CLion
An intelligent IDE for C/C++ development, taking native development to new dimensions with advanced code analysis and CMake integration
Shortcuts for continuously improving C++ code quality with safe refactoring features like renaming, function extraction, and variable extraction
Ctrl+Alt+Shift+T
Refactor This
Shows available refactoring options.
💡 Hint: Refactor This
🎯 Display all available refactoring options to select the optimal approach
Shift+F6
Rename
Renames a symbol.
💡 Hint: Shift+F6 to rename
🎯 Safely rename symbols across the entire project to maintain consistency
Ctrl+Alt+M
Extract Method
Creates a new method from selected code.
💡 Hint: Method
🎯 Extract duplicate code into methods to improve code reusability
Ctrl+Alt+V
Extract Variable
Creates a variable from selected expression.
💡 Hint: Variable
🎯 Extract complex expressions into variables to improve readability and maintainability
Ctrl+Alt+N
Inline
Inlines a variable or method.
💡 Hint: Inline
🎯 Inline unnecessary variables or methods to make code concise
Ctrl+F6
Change Signature
Changes method signature.
💡 Hint: Ctrl+F6 for signature
🎯 Safely change method signatures to improve APIs
Alt+Delete
Safe Delete
Deletes after checking for usages.
💡 Hint: Alt+Delete for safety
🎯 Safely delete unused code to keep the codebase clean
F6
Move
Moves a file or class.
💡 Hint: F6 to move
🎯 Move files or classes to appropriate locations to improve project structure