Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-11570

automatic code breaking into multiple lines after pressing CTRL+S cannot be disabled.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • None
    • QDS 4.3.2
    • Plugins
    • Windows

    Description

      Steps to reproduce the issue:

      Run this code on Design studio
      //This rectangle I want in multiple lines
      Rectangle 
      id: rect1
      x: 20
      y: 30
      color: "red"
      width: 100
      height: 50

      //And this rectangle I want in single line!
      Rectangle {id: rect2; x: 20; y: 30; color: "red"; width: 100; height: 50}

      ------

      If I write this code in QML and press SAVE button, Qt will automatically break Rect2 into multiple lines just like Rect1! even if  Settings -> Qt Quick, ta Q<L/JS Editing, "Enable auto format on file save" switched off
       
       

      Attachments

        1. image.png
          109 kB
          Chakib Boutaghane
        2. image-2023-12-20-13-00-53-674.png
          6 kB
          Thomas Hartmann
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            chakib Chakib Boutaghane
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes