Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt Creator: How to do per-project tab spacing?
Kepler-141c last edited by Kepler-141c
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.
Xavier Thomas last edited by
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
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.
Kepler-141c last edited by
Thanks guys, that did it, no idea how I missed it.