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

Coding assist for dot (.) is incorrect sometimes

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 4.0.0
    • C/C++/Obj-C++ Support
    • None
    • Kubuntu 16.04 x86_64, KDE5, Cmake 3.5.1, Clang code model.

    Description

      Sometimes, when I type in code in QtCreator, it mistakenly converts dot (.) to arrow (->). For example, it sometimes happens when I type floating point constants, and as a result I get something like this:

      sample_rate_multiplier(1->0f),
      

      If I try to fix the code by erasing -> and typing . instead, QtCreator gives a drop-down list of various nonsensical symbols, like macros, keywords and whatnot (see the screenshot).

      Attachments

        Issue Links

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

          Activity

            People

              kosjar Nikolai Kosjar
              lastique Andrey Semashev
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes