How to indent code in the IDE?

There are a few different ways to indent code in the IDE other than excessive use of the spacebar.

Single line TAB indent

Indent the whole line or from wherever the caret currently is. Same way most editors works!

Block Indent

Select a part of a line, a whole line or more than one line and hit the TAB key. This opens the “block indent” dialog:

Indentation (None/Automatic/Smart)

Depending on your current configuration you might also be able to make use of the Ctrl+I keyboard shortcut to initiate automatic or smart indentation:

Similar to Block Indent, you can select aline or block of text and call the indenter to reformat your block of code.

Clarion has a special options panel for Clarion Specific smart formatter options: