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

C++ line comment toggle behavior - the position of //

XMLWordPrintable

    • All
    • 5cfe69ea1 (master)

      Now the C++ line comment toggle behavior is inserting or deleting "//" at the column 0 on per line. This is not beautiful some times and more ugly after I paste the commented lines to a postion with intended, see below picture:

      So can we insert or delete the "//" at current intended colum or just before the non-empty character? This behavior is more beautiful at most time, and can keep beautiful after pasting. This is also the default behavior of Microsoft's C++ extension in Visual Studio Code. Like this:

      This is the related issue I found in qt forum:

      [QtCreator - align comments with previous indented line | Qt Forum|https://forum.qt.io/topic/84559/qtcreator-align-comments-with-previous-indented-line]

      Thks!

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

            kandeler Christian Kandeler
            charlesliao 成 廖
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes