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

QmlFormat: add spaces after js class methods

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4: Low P4: Low
    • 6.10.0 FF, 6.10
    • dev
    • QML: Tooling
    • None
    • b9f2394c5 (dev)

      When formatting JS pieces of code or JS files, constructor, getter and setter functions doesn't have a space before the opening bracket.  (It works for normal functions though).

      Example:

      set name(newName){ 
      function one() {
      

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

            sami.shalayel Sami Shalayel
            dima.a Dmitrii Akshintsev
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes