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

toggling comments like vscode

    XMLWordPrintable

    Details

    • Type: Suggestion
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.12.1
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      All

      Description

      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
      

       

       

       

       

        Attachments

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

          Activity

            People

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

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes