CLion 2020.2 Help

Advanced editing

FunctionShortcutUse this shortcut to...
Comment with Line CommentCtrl+/Comment/uncomment current line or selected block with line comments.
Comment with Block CommentCtrl+Shift+/Comment/uncomment code with block comments.
Quick DocumentationCtrl+QShow a popup with the documentation for the symbol at caret.
Pop-up HectorCtrl+Alt+Shift+H Show the Highlighting level popup to configure highlighting in the current file .
Parameter InfoCtrl+PShow parameters of the function call at caret.
Error DescriptionCtrl+F1Show an error or warning description at the caret.
Override Methods...Ctrl+OOverride base class methods in the current class.
Surround with...Ctrl+Alt+T Surround the selected code fragment with conditional statements, loops, folding regions, or other constructs.
GenerateAlt+InsertGenerate standard code constructs.
Basic Code CompletionCtrl+Space
Alt+/
Code completion for any class, method or variable.
SmartType Code CompletionCtrl+Shift+SpaceSmart completion filtering the lookup list based on the expected type.
Expand WordAlt+/Goes through the names of classes, methods, keywords and variables in the current visibility scope.
Insert Live Template...Ctrl+JShow a list of the available live templates starting with a specified prefix.
Surround with Live Template...Ctrl+Alt+JSurround a selection of code with a live template.
Next Template VariableTabIn templates: move the caret to the next template variable.
Previous Template VariableShift+TabIn templates: move the caret to the previous template variable.
Last modified: 14 August 2020