qtqt5qt-creatorindentationcode-formatting

Indentation guides in Qt Creator?


Is it possible to tell the editor in Qt Creator (I'm using V.4.9.2) to show some "indentation guides" like in C++Builder (default), Notepad++ (default) or Visual Studio (via plugin)?

What I mean are lines like the colored vertical ones in the next picture (which is a screenshot from C++Builder).

C++Builder code snippet

Please note: I'm aware of the editor option "Highlight blocks" which goes into the right direction but is more distracting than helpful in my opinion.


Solution

  • In QtCreator 9 this feature has been finally included. Good things come to those who wait. ;-)

    https://doc.qt.io/qtcreator/creator-indenting-code.html

    Feature 'Visualize indent' in settings dialog