Edit Menu actions
-
-
-
Name | -Function | -Keyboard Shortcut | -|||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Apply Script... | -Applies a previously saved list of refactorings. | -- | |||||||||||||||||||||||||||||||||||||||||||
Create Script... | -Exports a list of previously done refactorings for later use. | -- | |||||||||||||||||||||||||||||||||||||||||||
History... | -Displays a history of refactorings. | -- | |||||||||||||||||||||||||||||||||||||||||||
Rename... | -Renames selected object (variable, - method, etc...) and propagates changes to other files in project. | -Alt+Shift+R | -|||||||||||||||||||||||||||||||||||||||||||
Extract Local Variable... | -Extracts selected subexpression into a new local variable. | -Alt+Shift+L | -|||||||||||||||||||||||||||||||||||||||||||
Extract Constant... | -Replaces all instances of selected literal with a named constant. | -Alt+C | -|||||||||||||||||||||||||||||||||||||||||||
Extract Function... | -Replaces selected statements with a call to a new function containing them. | -Alt+Shift+M | -|||||||||||||||||||||||||||||||||||||||||||
Toggle Function Definition | -Moves selected function definition from a header file (in- or outside a class definition) to an implementation file, or back. | -Alt+Shift+T | -|||||||||||||||||||||||||||||||||||||||||||
Hide Method... | -Makes selected method private. | -- |
Name | +Function | +Keyboard Shortcut | +
---|---|---|
Apply Script... | +Applies a previously saved list of + refactorings. | ++ |
Create Script... | +Exports a list of previously done + refactorings for later use. | ++ |
History... | +Displays a history of refactorings. | ++ |
Rename... | +Renames selected object (variable, + method, etc...) and propagates changes to other files in project. | +Alt+Shift+R | +
Extract Local Variable... | +Extracts selected subexpression into a + new local variable. | +Alt+Shift+L | +
Extract Constant... | +Replaces all instances of selected + literal with a named constant. | +Alt+C | +
Extract Function... | +Replaces selected statements with a + call to a new function containing them. | +Alt+Shift+M | +
Toggle Function + Definition | +Moves selected function definition from + a header file (in- or outside a class definition) to an + implementation file, or back. | +Alt+Shift+T | +
Hide Method... | +Makes selected method private. | ++ |
-
+
Run Menu actions
-
-
-
Toggle Comment | -Add or remove single-line, C++-style, + | Adds or removes single-line, C++-style, comment markers on each line in the selection, or the line containing the cursor, if there is no selection | Ctrl+/ |
Add Block Comment | -Add a block comment around the + | Adds a block comment around the selection | Ctrl+Shift+/ |
Remove Block Comment | -If the selection contains one or more - block comments, remove them | +Removes the comment markers around any + block comments in the selection | Ctrl+Shift+\ |
Shift Right | -Increase indentation on each line in + | Increases indentation on each line in the selection, or the line containing the cursor, if there is no selection | |
Shift Left | -Decrease indentation on each line in + | Decreases indentation on each line in the selection, or the line containing the cursor, if there is no selection | Shift+Tab |
Correct Indentation | -Apply simple indentation rules to the + | Applies simple indentation rules to the current selection, or the line containing the cursor, if there is no selection | Ctrl+I |
Format | -Apply the full Applies the full
![]() | ||
Add Include | -Add an include statement and, + | Adds an include statement and, optionally, a "using" declaration for the currently selected name | Ctrl+Shift+N |
Organize Includes | +Adds all the required includes for the + selected file | ++ | |
Sort Lines | -Sort the selected lines | +Sorts the selected lines | Ctrl+Alt+S |
Implement Method... | -Open the Implement Method dialog | +Opens the Implement Method dialog | |
Generate Getters and Setters... | -Open the Generate Getters and Setters + | Opens the Generate Getters and Setters dialog that allows you to create Getters and Setters for fields in the current type. Available on fields and types or on a text selection inside a type | @@ -101,8 +105,8 @@|
Surround With | -Surround the selected statements with a
- code template (as defined in Surrounds the selected statements with
+ a code template (as defined in
![]() Window Menu actions-
- |