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

Applying multiple fixits fast might eat characters

XMLWordPrintable

    • Linux/X11
    • bcf900e29b6ceeb475e11881d5015055db0116f9 (qt-creator/qt-creator/master)

      Let's say you have a code like:

      struct
      {
         int a;
      }*x;
      x->a + x->a;

      If you change 'x' for pointer to struct to simple variable, like:

      struct
      {
         int a;
      }x; // change here
      x->a + x->a;

      The IDE will warn you of 2 Semantic Issues. If you click on offered solutions from the dropdown menu that appears when you hover your mouse over the red circle on the left of the line number, this might happen:

      struct
      {
         int a;
      }x; // change here
      x.a + x-.; // problem here

      This only happens when you click the problem from top to down (so to solve the leftmost occurrence first). This is not happening when you click on the individual solution proposals that appear when you hover the mouse over the actual code, so not on the red circle.

       

       

       

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

            kandeler Christian Kandeler
            evintila evintila
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes