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

Incorrect indents with structured bindings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • Qt Creator 4.12.0
    • C/C++/Obj-C++ Support
    • None
    • macOS

    Description

      When using a structured binding, the auto indent of subsequent lines has an extra tab. See attached gif for an example. Notice how the auto identing mechanism keeps producing an extra indent, as though we've gone in another scope. 

      Attachments

        Issue Links

          Activity

            People

              kosjar Nikolai Kosjar
              zethon Zethon Clarke
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: