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

Auto-completion is not working properly in Qt Creator

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • Qt Creator 1.3.85 (2.0.0-rc1)
    • Editors
    • None

    Description

      Hello Everyone!

      I use the Qt Creator version from Nokia Qt SDK RC.
      It seems to me that its auto-completion feature is somewhat broken, as it doesn't work as I expected.

      Most of the time when I press Ctrl+Space, it correctly assumes what things are there. If I press enter, it auto-completes what I was writing, but...

      • If I would like to set a value of a variable, start typing, press Ctrl+Space, select an option with the arrow keys, and press Space (not enter) it fails to auto-complete.
      • If I would like to create a method call, start typing, press Ctrl+Space, select an option with the arrow keys, and press '(' it also fails to auto-complete.

      An option would be welcome for setting which keys should trigger auto-completion.
      A very nice auto-completion feature can be seen in MS Visual Studio for C# - I know that C++ is much more complicated, but I think that your feature is already good enough, just these little UI tweaks are needed.

      More suggestions for improvement:

      • It would be great if Qt Creator would automatically guess what I would like to write without the need to press Ctrl+Space.
      • It would also be great if it remembered the last used item for the actual context, firstly presenting that option when I start typing
        Visual Studio also has these two enabled by default, and it really reduces the time needed to type stuff.

      Attachments

        Issue Links

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

          Activity

            People

              lindeije Thorbjørn Lindeijer (closed Nokia identity) (Inactive)
              venemo Timur Kristóf
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes