Code Completion on W2K [message #58320] |
Thu, 16 January 2003 09:00  |
Eclipse User |
|
|
|
Originally posted by: dd.oal.com
Hi,
I'm currently working on a C++ project; here is my development environment:
Eclipse 2.1 (build 200212181304)
CDT 1.0.1-F1
OS: Windows 2000
The sources are accessed through Clearcase Dynamic Views by a NFS mount.
The sources a pretty large.
My problem is that I can't use code completion.
I tried Exuberant ctags and cygwin ctags: same problem:
(*) Ctrl+Space doesn't work (but Edit > Code Assist does!!?? - Key
binding seems to be alright)
(*) Eclipse runs very slowly
(*) After 2 minutes editing, it runs "out of memory"
I searched such problems in the archives and some posts talked about "Parser
Include Path" and "Parsing level".
But I can't find thoses properties.
Any help would be wellcome!
Thanx
David
|
|
|
|
|
Re: Code Completion on W2K [message #61066 is a reply to message #58679] |
Mon, 03 February 2003 19:56  |
Eclipse User |
|
|
|
Originally posted by: alain.no.spam
David wrote:
> Thanks,
> I used -Xms arg and it seems to be much better....but....
> is it possible to the content assist tool to be context sensitive?
> For example, on "this->", could it show me only members of the related class
> of "this"?
> Actualy, when I use content assist, it shows me ALL the matching method
> members of ALL the classes it knows about.
> My sources are so large that in much cases, it is not helpfull (too many
> proposals).
> Any idea?
None.
You will have to wait for a more complete C/C++ parser in the CDT
To be able to do
joe->... code_completion
we need to parse the line to figure out what is joe?
and then where is joe define? which can be in some headers
outside of eclipse workspace sigh ... (C++ is such an ugly lang 8)
For now, what you see is only the list of symbols discovered
from ctags.
For the "run out mem" it maybe due to the fact that you
have large projects and the indexer is using a large amount
to hold the symbol tables(in mem).
Disable indexing from the project property, that may also help.
> "Gunnar Wagenknecht" <g.wagenknecht@intershop.de> a écrit dans le message
> news: b08apl$d06$1@rogue.oti.com...
> > "David" <dd@oal.com> schrieb im Newsbeitrag
> > news:b06cus$411$1@rogue.oti.com...
> >
> > > (*) Ctrl+Space doesn't work (but Edit > Code Assist does!!?? - Key
> > > binding seems to be alright)
> >
> > This is a known bug in Eclipse.
> >
> > > (*) After 2 minutes editing, it runs "out of memory"
> >
> > You should start Eclipse passing VM arguments to allow the VM to use more
> > memory.
> >
> > Cu, Gunnar
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.09547 seconds