Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Creator: How to do per-project tab spacing?
Forum Update on Monday, May 27th 2025

Qt Creator: How to do per-project tab spacing?

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
4 Posts 3 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kepler-141c
    wrote on last edited by Kepler-141c
    #1

    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.

    1 Reply Last reply
    0
    • X Offline
      X Offline
      Xavier Thomas
      wrote on last edited by
      #2

      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

      aha_1980A 1 Reply Last reply
      3
      • X Xavier Thomas

        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

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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.

        Qt has to stay free or it will die.

        1 Reply Last reply
        2
        • K Offline
          K Offline
          Kepler-141c
          wrote on last edited by
          #4

          Thanks guys, that did it, no idea how I missed it.

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved