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.
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.

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.