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

comment blank lines when using Toggle Comment Selection

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Editors
    • None

    Description

      If I select code which looks like:

      Component.onCompleted: {
        console.log( "hi" );
        
        console.log( "bye" );
      }
      

      and then use the Toggle Comment Selection command, I get:

      // Component.onCompleted: {
      //   console.log( "hi" );
        
      //   console.log( "bye" );
      // }
      

      I want to get:

      // Component.onCompleted: {
      //   console.log( "hi" );
      //
      //   console.log( "bye" );
      // }
      

      To work around this problem, I am currently going back and adding in the missing comment lines. This is a lot of extra work that I would rather spend doing something else.

      Attachments

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

        Activity

          People

            davschul David Schulz
            jameshudson James Hudson
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes