Keil Logo

µVISION: Text Editor Doesn't Automatically Indent

Information in this article applies to:

  • µVision All Versions


When I insert a new line, the text editor always positions the cursor to the left side of the text window. How do I get the text editor to position the cursor to the current indent level when I insert a new line?


Enable the Auto Indent feature of the text editor. From the Keil µVision IDE, click on Edit in the menu bar, then click on Configuration - this opens the Configuration dialog. On the top left of the dialog, next to select the Block option from the Auto Indent pull down box.

Press OK to close the dialog. Try all three auto indent options, and find which works best.


  • Refer to Editor in the µVision User's Guide.

Last Reviewed: Tuesday, February 9, 2021

Did this article provide the answer you needed?
Not Sure
  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.