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

Indention of string literals

    XMLWordPrintable

Details

    Description

      If I hit Ctrl-I I get that indentation which looks quite strange.

          QString jsonText = QStringLiteral("[ \
          { \"id\":1,  \"name\":\"Jane\", \"number\": 23.3 } \
             { \"id\":2, \"name\":\"Mary\", \"number\": 99 }, \
                { \"id\":\"3\",  \"name\":\"Sophie\", \"number\": 2199023255552 } \
                   ]");
      

      Attachments

        Issue Links

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

          Activity

            People

              kandeler Christian Kandeler
              bubke Marco Bubke
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes