Editor freezes 10 seconds, then displays content assist list [message #211711] |
Tue, 11 March 2008 14:12  |
Eclipse User |
|
|
|
Originally posted by: felipehummel.gmail.com
Hi, i've been facing a problem using Eclipse, every time I try to use the
content assist (using ctrl+space or just typing "." "::" or ">") the whole
application freezes for about 10 seconds.
My problem was described by somebody else here:
https://bugs.launchpad.net/ubuntu/+source/eclipse-cdt/+bug/1 96203
My app version are exact the same as the bug description
I'll transcript it here:
Binary package hint: eclipse-cdt
Steps taken:
1. Create new C++ project,
2. Create a new .cpp file and enter some code.
2. Enter object name then '.' or '->'.
Result:
Editor freezes for between 5 and 10 seconds, then displays content assist
list.
Expected:
No / negligible delay.
Notes:
* Delay does not occur using content assist with Java source.
* Have tested with no, fast and full indexers (as set in project
properties). No change observed.
* Tested and repeated on several high spec machines. No change observed.
* Tried increasing heap size available to eclipse. No change observed.
Version information:
Eclipse SDK
Version: 3.2.2
Build id: M20070212-1330 ('Ubuntu' version: 3.2.2-3ubuntu3)
Eclipse C/C++ Development Tools
Version: 3.1.2.200706181825
Build id: 200706181825
If anyone know how to solve it, please give some help!
Thanks
|
|
|
Re: Editor freezes 10 seconds, then displays content assist list [message #211740 is a reply to message #211711] |
Wed, 12 March 2008 06:33  |
Eclipse User |
|
|
|
Felipe Hummel wrote:
> Hi, i've been facing a problem using Eclipse, every time I try to use
> the content assist (using ctrl+space or just typing "." "::" or ">") the
> whole application freezes for about 10 seconds.
>
> My problem was described by somebody else here:
> https://bugs.launchpad.net/ubuntu/+source/eclipse-cdt/+bug/1 96203
>
> My app version are exact the same as the bug description
>
> I'll transcript it here:
>
> Binary package hint: eclipse-cdt
>
> Steps taken:
> 1. Create new C++ project,
> 2. Create a new .cpp file and enter some code.
> 2. Enter object name then '.' or '->'.
>
> Result:
> Editor freezes for between 5 and 10 seconds, then displays content
> assist list.
>
> Expected:
> No / negligible delay.
>
> Notes:
> * Delay does not occur using content assist with Java source.
> * Have tested with no, fast and full indexers (as set in project
> properties). No change observed.
> * Tested and repeated on several high spec machines. No change observed.
> * Tried increasing heap size available to eclipse. No change observed.
>
> Version information:
> Eclipse SDK
> Version: 3.2.2
> Build id: M20070212-1330 ('Ubuntu' version: 3.2.2-3ubuntu3)
>
> Eclipse C/C++ Development Tools
> Version: 3.1.2.200706181825
> Build id: 200706181825
>
> If anyone know how to solve it, please give some help!
>
> Thanks
>
Content assist with CDT 3.x is slow due to the fact that it always
performs a full parse (following all inclusions), regardless of the index.
This has changed with CDT 4.0, see also
https://bugs.eclipse.org/bugs/show_bug.cgi?id=169860
If you need to stick to CDT 3.1.2, the only suggestion to give is:
Disable the content assist auto activation so that you invoke content
assist only when you really want it.
HTH
--
Anton Leherbauer
Wind River CDT Team, Austria
|
|
|
Powered by
FUDForum. Page generated in 0.04748 seconds