Keil Logo

Advanced Menu

Edit — Advanced opens a sub-menu providing extended editor features. The commands are also accessible through the context menu. The table lists the commands for beautifying the code.

Advanced Menu Toolbar Shortcut Description
Goto Line   Ctrl+G Positions the cursor to the specified line number in the current source file.
Select Text between Matching Braces   Ctrl+Shift+E Selects all text between a matching brace, parenthesis, or bracket (to use this command place cursor before/after a brace, parenthesis, or bracket).
Goto Matching Brace   Ctrl+E Finds the matching brace, parenthesis, or bracket (to use this command place cursor before a brace, parenthesis, or bracket).
Tabify Selection     Replaces spaces with tabs in the selected text.
Untabify Selection      Replaces tabs with spaces in the selected text.
Make Uppercase    Ctrl+Shift+U Converts the selected text to uppercase letters.
Make Lowercase    Ctrl+U Converts the selected text to lowercase letters.
Comment Selection Comment Button   Converts the selected lines to comments.
Uncomment Selection Uncomment Button   Converts commented lines to code text.
Indent Selection Indent Button   Increases the line indentation of each selected line with one tab.
Unindent Selection Unindent Button   Decreases the line indentation of each selected line with one tab.
Indent Selection with Text...     Increases the line indentation of each selected line with the specified text.
Unindent Selection with Text...     Decreases the line indentation of each selected line with the specified text.
Delete Trailing White Space     Deletes each trailing tab or trailing space in the selected text.
Delete Horizontal White Space     Deletes each tab or space in the selected text.
Cut Current Line    Ctrl+L Cuts the text of the current line to the clipboard.
Go to Definition of current Word    F12 Shows the definition of the word that is marked by the cursor.
Go to Next Reference of current Word    Ctrl+Num +  Shows the next reference of the word that is marked by the cursor.
Go to Previous Reference of current Word    Ctrl+Num -  Shows the previous reference of the word that is marked by the cursor.
Go to Declaration of current Word    Ctrl+F12 Shows the decalration of the word that is marked by the cursor.
Show All References of current Word    Ctrl+Shift+F12 Shows all references of the word that is marked by the cursor.
Refresh Source Browser View    Shift+Alt+F12 Refreshes the source browser view.
Toggle Text Editor/Configuration Wizard    Shift+F8 Toggles the view of the current document between text mode and Configuration Wizard View.

Note

  • Shortcut keys can be defined for each command through Edit - Configuration - Shortcut Keys.

Related Knowledgebase Articles

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.