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).
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.
To automatically indent the highlighted text, select Auto-indent Selection or press Ctrl+I. To automatically format the highlighted text, select Auto-format Selection or press Ctrl+;. To adjust the wrapping of the selected paragraph, select Rewrap Paragraph or press Ctrl+E followed by R.
It seems there is no exact match.
But you have two options that may serve to give you the necessary guides.
From tools - options - text editor - display
Which is actually quite annoying because it also visualizes spacebars, unless you are one of those insane maniacs who don't use the spacebar. Not using the spacebar finally makes sense if you use that feature.
Which is a tad better, but it only highlights the hierarchy of blocks you are currently in. Plus it grays out everything else, which is annoying too.
So you have the option to pick between those two annoyances.
Even better, you can even have both at the same time.
You might also consider issuing a feature request at the bug tracker. It seems simple enough to actually get implemented before you reach retirement age.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With