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

toggling comments like vscode

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Unresolved
    • Icon: P4: Low P4: Low
    • None
    • Qt Creator 4.12.1
    • None
    • All

      One thing that vscode does really well is the way it toggles line commenting:

      For example if you toggle a line to be commented:

       

      Window {
           Label {
                 text: "Hello Qt"
            }
      }
      will turn into
      //           text: "Hello Qt"  
      and if you re-align the file it goes way right aligning the // as base line, in vs code toggling a comment it would be
      // text: "Hello Qt"
      without the additional indent
      

       

       

       

       

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

            davschul David Schulz
            damianatorrpm Damian Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes