Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Code completion got less helpful
Forum Updated to NodeBB v4.3 + New Features

Code completion got less helpful

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 303 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jazzco2
    wrote on last edited by jazzco2
    #1

    I don't know what they did but code completion lost being helpful. When I type something I expect to see the absolute match on top. In the example below, why does QTextCursor snuggles in to the top? No one want's this. And this is only on example of many.

    a12a2742-c007-47c7-9c70-a44ef7532f32-grafik.png

    After repeatedly needing to remove false top offers I more and more break the habit to use the completer at all. Hope they'll fix this so it's usable again.

    Or does anybody knows any setting to fix that?

    Jazzco

    aha_1980A 1 Reply Last reply
    0
    • J Offline
      J Offline
      jazzco2
      wrote on last edited by
      #2

      The other broken part with code completion is the parameter hint. Earlier it tracked cursor movements so that the highlighted parameter changes when the cursor moves beyond a comma. Also the hint closed when leaving the braces. This highly makes sense because the UP and DOWN arrows are consumed by the hint to switch between overload.

      In the following example hitting down doesn't move the cursor, need to hit ESC first:

      e0aae284-8a3d-4313-aa82-bc8b4e0ba3fa-grafik.png

      I know it is high level whining but when things get worse step by step there's a point when it needs to be addressed to show it's not unrecognized.

      1 Reply Last reply
      0
      • J jazzco2

        I don't know what they did but code completion lost being helpful. When I type something I expect to see the absolute match on top. In the example below, why does QTextCursor snuggles in to the top? No one want's this. And this is only on example of many.

        a12a2742-c007-47c7-9c70-a44ef7532f32-grafik.png

        After repeatedly needing to remove false top offers I more and more break the habit to use the completer at all. Hope they'll fix this so it's usable again.

        Or does anybody knows any setting to fix that?

        Jazzco

        aha_1980A Offline
        aha_1980A Offline
        aha_1980
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi @jazzco2,

        for the first problem, I think there was a patch recently that ranks matches that starts with the given text higher: https://codereview.qt-project.org/c/qt-creator/qt-creator/+/490803

        Its not merged yet, but should hopefully appear in one of the next releases.

        For the second problem, you might want to report an issue at bugreports.qt.io (don't forget to add a link to the report here).

        Regards

        Qt has to stay free or it will die.

        1 Reply Last reply
        1

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved