Uploaded image for project: 'Qt Design Studio'
  1. Qt Design Studio
  2. QDS-10436

un-comment out a line doesn't end up in the same indentation as before saving it

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • QDS 4.6
    • QDS 4.2
    • Code View
    • None
    • All

    Description

      Let's say there's a line like this:

      I comment-out the line 52, by selecting the line and press Ctrl + /.
      So far so good, the line was commented-out.

      But once I save the change by clicking Ctrl + s, there's an extra indentation introduced automatically.

      Then, when I select the line 52 and press Ctrl + / again, it ends up like this.

      As you can see, id: bg is indented too much. 

      I found out that by saving the change the line goes back to where it's supposed to be, but it certainly gives an unconfortable experience to users and we cannot tell then "it's your fault not finding out that saving the change gets the line in place." 
      The line should be in the place where it's supposed to be immediately after it's un-commented out as other IDEs usually do.

      Attachments

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

        Activity

          People

            thohartm Thomas Hartmann
            mikio_hirai Mikio Hirai
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes