Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-140896

QmlFormat [LSP] no file exlusion

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • 6.11
    • 6.11
    • QML: Tooling
    • None
    • Windows

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE QtCreatorCodeStyle>
      <!-- Written by QtCreator 17.0.1, 2025-09-24T09:50:35. -->
      <qtcreator>
       <data>
        <variable>CodeStyleData</variable>
        <valuemap type="QVariantMap">
         <value type="bool" key="AutoDetect">true</value>
         <value type="QString" key="CustomFormatterArguments"></value>
         <value type="QString" key="CustomFormatterPath"></value>
         <value type="int" key="Formatter">0</value>
         <value type="int" key="IndentSize">4</value>
         <value type="int" key="LineLength">80</value>
         <value type="int" key="PaddingMode">2</value>
         <value type="QString" key="QmlFormatIniContent">[General]
      
      NormalizeOrder=true
      UseTabs=false
      ObjectsSpacing=true
      FunctionsSpacing=true
      IndentWidth=4
      NewlineType=native
      MaxColumnWidth=80
      
      
      </value>
         <value type="bool" key="SpacesForTabs">true</value>
         <value type="int" key="TabSize">4</value>
        </valuemap>
       </data>
       <data>
        <variable>DisplayName</variable>
        <value type="QString">QML Format</value>
       </data>
      </qtcreator>
       

      There is no documented way of describing files that should be excluded from formatting.

      e.g.

      IgnoreFiles=path/to/file

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

            qtqmlteam Qt Qml Team User
            redman Calvin Flatt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes