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

Timout for Code completion popup

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Done
    • P2: Important
    • Qt Creator 2.1.0
    • Qt Creator 1.3.0
    • C/C++/Obj-C++ Support
    • None
    • Linux (Ubuntu 9.10) x86, Gcc 4.4.1, HW: Core2 E6600, 4 GB Mem

    • 32a84df5c0cc4bce26b32997478b714ad65e5b1c c8f03b46c1e1dddd63450d3db140b3deba6fcb69 c35bb4226bd809a3da3487a9db3f61ba34cce70d 9eea78d7f1df329c25df6fd4cbc113b93d905e36 66a9ef072535d33b8876ebc873134fac2d6c7e02 d9527680a9fbbdb8f70c82143e77a52ef34d61aa 95aae8bb

    Description

      Make a option to specify a timeout after which code completion window pops up. Reason: If you are working with a very large project with very complex classes (Many methods, deep inheritance tree) the code completion can become very slow.

      I can't supply you with actual code cause it's a internal project, but you can watch the same behavior when using another project which has very complex classes like the GtkMM Project. Test out the following code:

      #include <gtkmm.h>
      
      int main( int argc, char **argv )
      {
          Gtk::Main kit( argc, argv );
          Gtk::Window win( Gtk::WINDOW_TOPLEVEL );
      
          win.show();
          kit.run();
      }
      

      When typing the "win.show()" line you can clearly see a lag of about 1-2 seconds on a decent machine until the code completion pops up. If you know your classes well and have the option to make a timeout for the popup it would make working with Qt Creator more efficient (IMHO Qt Creator is even with this behavior the most efficient IDE out).

      Attachments

        Issue Links

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

          Activity

            People

              raggi Roberto Raggi
              egrath Egon Rath
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes