User forums > Help

Code completion is unusably slow

<< < (2/3) > >>

ollydbg:
Ok, I will look into it. it seems there is a bug in parserthread's DoParse function. :D

ollydbg:
@Kriz

I just wrote a simple test code, and every thing works fine.


--- Code: ---class QMainWindow
{
    int aaaa;
};

namespace Ui {

    class MainWindow
    {
        int bbbb;
    };

}

class MainWindow
: public QMainWindow,
  public Ui::MainWindow
{
    int cccc;
};

MainWindow x;
x.

--- End code ---


--- Quote ---Naming my derived class with the same name MainWindow causes trouble with the plugin:
--- End quote ---
So, What the exact problem you have with CC?
Can you describe it more specifically?

Kriz:
Hm... very strange. Does the plugin has known problems while parsing a huge amount of code (backparsing all QT headers in one run _is_ a huge amount of code  8) )? Well, I don't know how to pull the string shorter around this problem, but I do have this "funny" phenomenon. When coding standard C/C++ I cannot recognise any problems. Everything works fine then.

Another mystery: In the prior version of C::B, when I typed std:: the plugin showed me the correct selection of possible classes (f.e. vector or something like that). Now in the new version the plugin shows me the selection of possible (standard) classes without typing std:: before! More better: When I type std:: the possible classes will not appear anymore! WTF?

And last but not least: The popup combobox of the plugin should calculate its position before showing, because often nearly half of the window floats over the bottom border of the editor pane:



I hope this bug will be solved soon  :D

Cu
Kriz

ollydbg:
I do not have qt at hand, so I just test a simple vector code like:

--- Code: ---#include <vector>

//using namespace std:

std::ve


--- End code ---

then the screen shot shows it works fine.(latest cc_branch)



note, I reopen(reparse) the project after I edit the code.( this means the #include <vector> should be there if you open the project, seems parsing in realtime does not add new headers to parser..).

xhpohanka:
Hello,
I've tried again the latest nightly build (6527) on Windows 7. Unfortunately code completion still works strange on all my computers.

Steps performed:
1. Clean install of latest CB
2. Open the CB source project (wx included)
3. Open any file
4. Writing of any text

Symptoms:
After writing 4th character (corresponds to CC configuration), the writing starts to be very slow.

Am I the only one with similar behaviour?

regards Jan

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version