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 3.1 - code style - mixing tabs and spaces in indentation
Forum Updated to NodeBB v4.3 + New Features

Qt Creator 3.1 - code style - mixing tabs and spaces in indentation

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 573 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.
  • A Offline
    A Offline
    Antonink
    wrote on last edited by
    #1

    Hello, I am not being successful in achieving the following, no matter what settings I seem to try :

    I would like Qt Creator to preserve the TAB symbols as well as the space symbols I choose to type, because the policy of the project I am working on is the following:

    Use the TAB symbol to indent and the space symbol to align.

    I have managed to get the TAB symbols to not get replaced by space symbols by setting the mixed code style, but now spaces get replaced by tabs every x spaces.

    In short, I would like to be able to type this without Qt Creator incorrectly replacing it with incorrect characters : <TAB><TAB> <SPACE><SPACE><SPACE>.... and so on

    How can I achieve this? Thank you

    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