Qt World Summit: Register Today!

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

  • 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

Log in to reply