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

No autocompletion of symbol names inside comment blocks with the Clang code model

XMLWordPrintable

    • All
    • d16d1718f (master)

      With the old code model you can use autocompletion while typing a comment. With the Clang code model you cannot. This applies both to regular comments and to doc comments.

      I refer to c++ symbols in my comments in lots of different circumstances. For example, I frequently write "separator" comments between groups of functions or methods, e.g.

      //
      // Public methods for ClassWithAReallyLongNameThatsANuisanceToTypeByHand
      //

      I also often write inline comments in one method that refer to another, e.g:

      // `FooCollection::addFoo(Foo)` guarantees that the array we're using 
      // here is always sorted.

      Being able to use autocompletion for things like that is really handy. The Clang code model should offer the same behaviour as the old code model in this regard.

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

            kandeler Christian Kandeler
            vilya Vilya Harvey
            Votes:
            4 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes