Issues with indentation in QT Creator
-
When I press enter after curly braces it indents with 2 spaces

Even if I indent manually after semicolon it will change indentation to two spaces


If I write next line and press enter it will start indenting with 4 spaces but after this line with 2



I tried looking through preferences but everything looked fine:

Does anyone know what I can do to make indentation 4 spaces each time without whatever this behaviour is? I tried googling but to no avail. -
C Christian Ehrlicher moved this topic from General and Desktop on
-
When I press enter after curly braces it indents with 2 spaces

Even if I indent manually after semicolon it will change indentation to two spaces


If I write next line and press enter it will start indenting with 4 spaces but after this line with 2



I tried looking through preferences but everything looked fine:

Does anyone know what I can do to make indentation 4 spaces each time without whatever this behaviour is? I tried googling but to no avail.@Savunraja make sure your Qt Creator is up to date. This looks like a bug.
-
@Savunraja make sure your Qt Creator is up to date. This looks like a bug.