Details
-
Bug
-
Resolution: Invalid
-
Not Evaluated
-
Qt Creator 2.7.0
-
None
-
Ubuntu 12.10 with SDK
Description
Recreate the bug
A)Goto Tools > Options > Text Editor > Behavior > Tabs and Indentation
B)Set Tab and Indent size to 8 respectfully.
C)Goto the editor, and try some sample code which requires indents. For example
void function()
{
cout << "Inputting quotes will auto place the cout command at a 4 space indent" << endl;
}
This, and whenever I press tab, it sill will only indent 4 spaces. The editor perpetually fights my 8 tab preference at every time.
"Tabs are 8 characters, and thus indentations are also 8 characters. There are heretic movements that try to make indentations 4 (or even 2!) characters deep, and that is akin to trying to define the value of PI to be 3" - Linus Torvalds