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

Automatic closure commenting

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P3: Somewhat important P3: Somewhat important
    • None
    • Qt Creator 4.2.0
    • Editors

      With QML thera is a plethora of

           }
         }
        }
      }
      

      Maintaining what these are in comments is problematic because they can get shuffled. Instead use whatever feature provides whitespace visualization to provide scope visualization

           } // Text
         } // Column
        } // Item id:LoginItem
      } // Item id: screen
      

      Similarly in C++,

           } // if (debug)
         } // while(!file.atEnd())
        } //  if (file.isOpen()) 
       return lines.count();
      } // int readFileHeader(...)
      

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

            davschul David Schulz
            jasonemocha Jason
            Votes:
            11 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes