Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » I can't enable Content Assist in Eclipse Kepler(No default proposals is displayed when I do Ctrl+Space)
I can't enable Content Assist in Eclipse Kepler [message #1263599] Tue, 04 March 2014 16:20 Go to next message
Android Developer is currently offline Android DeveloperFriend
Messages: 8
Registered: February 2014
Junior Member
I have Eclipse Kepler with the problem:"No default proposals for Content Assist".
My problem is focused on .cpp archives.Even though Content Assist works great for my Java code my cpp files have problem(I have successfully installed C/C++ Development Tools by the way).

What can I do?

[Updated on: Tue, 04 March 2014 17:46]

Report message to a moderator

Re: I can't enable Content Assist in Eclipse Kepler [message #1264453 is a reply to message #1263599] Wed, 05 March 2014 08:34 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny ShifrinFriend
Messages: 208
Registered: July 2009
Senior Member
Does code navigation (F3, ...), call hierarchy, type hierarchy work? If you perform index rebuild on your C++ project, what are the index statistics (it could be found in error log view)?

Thanks,
Yevgeny
Re: I can't enable Content Assist in Eclipse Kepler [message #1264698 is a reply to message #1264453] Wed, 05 March 2014 12:27 Go to previous messageGo to next message
Android Developer is currently offline Android DeveloperFriend
Messages: 8
Registered: February 2014
Junior Member
My apologies Yevgeny for not clarifying you that I run an Android project and inside it I work in native(jni).
When I perform Open Type Hierarchy in my Android project the type hierarchy is displayed indeed with all java classes, methods etc. but nothing of my C++ code.
In addition while mouse overring any variable in my C++ code no info is displayed.What is really strange though is that on the right of my project in Outline most of my .h archives are not recognized having a warning on their bottom left.
Apart from that no Ctrl+Click over any variable works.
It is like all my C++ code being dead.
Re: I can't enable Content Assist in Eclipse Kepler [message #1265116 is a reply to message #1264698] Wed, 05 March 2014 19:01 Go to previous messageGo to next message
Yevgeny Shifrin is currently offline Yevgeny ShifrinFriend
Messages: 208
Registered: July 2009
Senior Member
I apologize, I am not familiar with JNI. Is your C++ code resides in seperate files or it is mixed with java?

In general, C++ files should be part of C++ project. I believe that eclipse project can be java and C but I never tried it. Eclipse project is defined using "nature". So several natures could be added to eclipse project. Other alternative is to have java project for java files and C++ project for C++ files.

Thanks,
Yevgeny
Re: I can't enable Content Assist in Eclipse Kepler [message #1294667 is a reply to message #1265116] Sun, 13 April 2014 17:49 Go to previous message
Android Developer is currently offline Android DeveloperFriend
Messages: 8
Registered: February 2014
Junior Member
My Java code is mixed with c++ code in a whole Android project.And in my .C++ archives content assist still doesn't work...any help please?????
Previous Topic:Limit depth of include resolving for self-inclusion
Next Topic:Various CDT parser errors
Goto Forum:
  


Current Time: Fri Mar 29 08:04:01 GMT 2024

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

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

Back to the top