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

Automatic closure commenting

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • Qt Creator 4.2.0
    • Editors
    • None

    Description

      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(...)
      

      Attachments

        Issue Links

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

          Activity

            People

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

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes