Qt Creator autocomplete

I have been using QtCreator for Windows for several days and I plan on using it as the main IDE for C ++ code (I won't be using the Qt library at the moment).

Although, I do miss Visual Studio's auto-completion, especially when typing a function.

I tried to use the Clan code model, but it doesn't seem to fix my "problems":

1. Qt autocomplete is not as reactive as Visual Studio;

2. If someone starts to enter a function and its first argument before the list of arguments appears, you need to remove the opening parenthese and wait a little until it appears,

3. Argument list and autocomplete field cannot be displayed at the same time;

4. Usually you need to enable auto completion by pressing Ctrl + Space.

+3


source to share


1 answer


I've used Qt Creator and Visual Studio quite a bit. IMHO, they are both comparable. Ctrl + Space works great for me ... I almost never hovered over the triggering function information. I think there is a similar shortcut in Visual Studio. Integration with Qt libraries, signals and slots and designer makes Qt Creator amazing. I didn't feel like Qt Creator was slow or fast compared to Visual Studio.

I like the default keyboard shortcuts in Qt better than the VS defaults, so I ended up remapping most of the keyboard shortcuts in Visual Studio related to build, run, indent and comment.

All options related to auto-completion can be found under

Qt Creator > Preferences (mac) > Text Editor > Completion

      

or

Qt Creator > Tools > Options > Text Editor > Completion

      



http://www.qtcentre.org/threads/54888-QtCreator-slow

Looks like it might be tied to too many files .pro.user

in the folder.

https://forum.qt.io/topic/39712/solved-slow-or-not-working-auto-completion-in-qtcreator-3-0-1-running-on-linux-mint-64bit-cinnamon/ 4

https://www.google.com/search?q=speed%20up%20qt%20creator%20auto%20complete

Hope it helps.

PS - The Qt libraries, its documentation and the community around it are awesome and worth checking out.

+5


source







All Articles