Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-9144

Indentation settings do not affect editor for c++

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • Qt Creator 2.8.0-beta
    • Qt Creator 2.7.0
    • Editors
    • 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

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            davschul David Schulz
            akiva Akiva Avraham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes