Code completion only activated at the 3rd char? even if I set to 'always'



  • @int main(int argc, char *argv[])
    {
    QApplication app(argc, argv);
    MainWindow window;
    window.resize(640, 512);
    window.show();

    win|
    return app.exec();
    

    }@

    For example, for the code above, only after I input 'n' the code completion list of 'win' will appear.

    How can I set it so that the completion list will appear at the first char I typed?



  • I don't have an answer to your original question, but pressing Ctrl+Space will always cause the autocompletion options to be shown.


  • Moderators

    You get so many results from the completion engine that processing that list currently takes too long. It causes noticeable delays when typing, so you can not enable it.

    Maybe we can introduce this feature after some more improvements to the completion engine. There are no concrete plans to add the direct completion you want, but we recently moved the completion into a separate thread, so maybe with some more work we can introduce what you want at some point. This is not a priority to use at this time though.



  • you can use ctrl+space keys to do that.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.