Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Code Completion on W2K
Code Completion on W2K [message #58320] Thu, 16 January 2003 14:00 Go to next message
Eclipse UserFriend
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 #58655 is a reply to message #58320] Fri, 17 January 2003 07:36 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g.wagenknecht.intershop.de

"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
Re: Code Completion on W2K [message #58679 is a reply to message #58655] Fri, 17 January 2003 09:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dd.oal.com

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?



"Gunnar Wagenknecht" <g.wagenknecht@intershop.de> a
Re: Code Completion on W2K [message #61066 is a reply to message #58679] Tue, 04 February 2003 00:56 Go to previous message
Eclipse UserFriend
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
> >
> >
Previous Topic:Disabling thread info on each step
Next Topic:C++ parser stability & completeness
Goto Forum:
  


Current Time: Wed Jul 17 11:33:54 GMT 2024

Powered by FUDForum. Page generated in 0.04365 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top