Unsolved Qt Creator: How to do per-project tab spacing?
-
How do I set up per-project tab spacing for a c++ qt project? I've tried setting
<value type="int" key="EditorConfiguration.IndentSize">4</value> <value type="int" key="EditorConfiguration.TabSize">4</value>
in the .user file but to no avail.
-
I don't know ho to do it edit files manually, but fom QtCreator's GUI:
Switch to "Projects" mode (Ctrl+5),
Select the project you want to modify in the drop-down menu if it was no the active one
Select "Project Settings -> Editor"
There you can assign you project custom editor settings -
Hi @Kepler-141c:
I've just one thing to add to @Xavier-Thomas answer:
There (in Projects) is one section "Editor" for text and other non-C++ files, plus the "Code style" section for C++ and header files.
-
Thanks guys, that did it, no idea how I missed it.