Important: Please read the Qt Code of Conduct -

QtCreator code completion of template methods fails

  • Hi,

    Apparently, Qt Creator doesn't do auto completion for template methods obtained from header files. It doesn't even give any hint that it's a template function. When try to auto complete a template method, it says nothing about the function signature; no pop-up appears.

    "This release": history shows:

    • 2.8.0 beta: Fixed highlighting for template parameters for function calls
    • 2.7.0: Added code completion for instantiation of templates with default argument
    • 2.7.0: Fixed code completion for classes in class templates

    It does work for template functions in the same .cpp file that I'm calling it in. Is that a Qt Creator limitation, or can I do something about it?

    I have version 2.8.1.

Log in to reply