Turn off popup when typing function



  • When typing a function, a popup appears showing the parameters of the function I am typing. It is more often annoying than helpful. I have searched up and down the preferences menu and have not been able to find where to turn it off. Is this possible?



  • I don't think you can turn it off.

    In what way is it not helpfull to you?



  • It cannot be deactivated, but it can be set to only be invokable manuall (Ctrl+Space). That setting is available under Text Editor -> Completion.



  • Eddy, it blocks the two lines of code above the line I am working on, and I often use those lines as a reference point.

    I am on Mac OS X. I see Text Editor-> Completion in the preferences menu, but I do not see any option to change it to manual invocation. The only three checkboxes there are all Auto Insert Brackets, Autocomplete common Prefix, and Insert space after function name, and they are all unchecked.


  • Moderators

    Which version of creator are you using?



  • bq. Eddy, it blocks the two lines of code above the line I am working on, and I often use those lines as a reference point.

    So it would be better to have it beneath it? You could make a suggestion for that on "JIRA":https://bugreports.qt.nokia.com/secure/Dashboard.jspa.



  • The popup usually is below the current line. It's only above if the current line is at the bottom of the editor, when there is no space left below the line.

    For the config settings:
    Go to Preferences, Text Editor, Completion (last tab) and change "activate code completion" to "manual" (tested with Creator 2.2.1).


  • Moderators

    Pardon me if I'm clarifying something that's already perfectly clear... ;-)

    I think he's referring to the tooltip that pops up after the method has been selected (or typed) that lists the parameters, not the dropdown that Ctrl-Space pops up to autocomplete the method name.

    For example, typing "myToolbar->add" lists addAction(), addActions(), addSeparator(), and addWidget() below the line, but once I select addAction(), there is a tooltip that pops up which begins
    @
    / 1 of 4 /\ QAction * addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member)
    @
    It does, indeed cover the lines above. I run into this all the time. Esc clears it, but it also closes the bottom pane in the editor.

    It would appear that, while it does squash the popup when typing a method name, the manual-toggle setting for completion doesn't affect the parameter popup at all, at least not on 2.3.0-beta.



  • if you learn to hit esc fast enough after a while you'll get used to it, it actually is helpful as long as it's not "in the way".... give it a chance. "Beats earbuds tour cheap dr. dre studio headphones":http://www.sell.com/27Q4M1 "Breitling Bentley replica watches UK 6.75 superocean super avenger":http://theinternetbiz.com/ReplicaWatches-tp2-70.html "Omega Watch replica":http://theinternetbiz.com/Omegawatches-tp2-5.html "Breitling replica":http://theinternetbiz.com "IWC replica watches":http://theinternetbiz.com/IWC-tp2-100.html "replica D&G watches":http://theinternetbiz.com/DGmenwomen-tp2-107.html "Chopard Gents Watch replica":http://theinternetbiz.com/ChopardMenLadies-tp2-15.html "Vacheron Constantin uhren replica relojes uhr montre":http://theinternetbiz.com/VacheronConstantin-tp2-13.html "Audemars Piguet replica watches uhren uhr montre relojes":http://theinternetbiz.com/AudemarsPiguet-tp2-11.html "Replica Diesel Watches":http://theinternetbiz.com/Diesel-tp2-79.html "replica corum watches":http://theinternetbiz.com/Corum-tp2-18.html "oris replica watches":http://theinternetbiz.com/Oris-tp2-17.html



  • [quote author="mlong" date="1312387469"]Pardon me if I'm clarifying something that's already perfectly clear... ;-)

    I think he's referring to the tooltip that pops up after the method has been selected (or typed) that lists the parameters, not the dropdown that Ctrl-Space pops up to autocomplete the method name.

    For example, typing "myToolbar->add" lists addAction(), addActions(), addSeparator(), and addWidget() below the line, but once I select addAction(), there is a tooltip that pops up which begins
    @
    / 1 of 4 /\ QAction * addAction(const QIcon &icon, const QString &text, const QObject *receiver, const char *member)
    @
    It does, indeed cover the lines above. I run into this all the time. Esc clears it, but it also closes the bottom pane in the editor.

    It would appear that, while it does squash the popup when typing a method name, the manual-toggle setting for completion doesn't affect the parameter popup at all, at least not on 2.3.0-beta.

    [/quote]

    You are correct, it is not the autocomplete feature, it is the tooltip that appears after typing the function and it shows the parameters of that function, and it is always above the cursor. I did notice that esc deletes it (and closes the bottom pane editor.

    [quote]
    if you learn to hit esc fast enough after a while you’ll get used to it, it actually is helpful as long as it’s not “in the way”…. give it a chance.
    [/quote]
    It pops back up when you get to each parameter in the function. For 6 parameters, esc has to be hit 6 times.

    It would probably not be a problem if it appeared below the cursor, or would be less annoying if esc made it disappear for the whole function instead of only one parameter. I just posted this suggestion on the bug/suggestion site.



  • Suggested on [bugreports.qt.nokia.com].



  • Hi ecripes,

    Thanks for making a suggestion on bugreports.

    Could you add a link to the bug reports page here? That way others can easily find it and vote for it.



  • Sure, Here's the link to the suggestion:
    https://bugreports.qt.nokia.com/browse/QTCREATORBUG-5748



  • Thanks again!

    I added a Link to this topic there to avoid the developers have the same misunderstanding as we had here ;)

    And i voted for it!


Log in to reply