Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Content Assist not working
Content Assist not working [message #1778457] Thu, 14 December 2017 13:00 Go to next message
Dejan Gvozdanovic is currently offline Dejan GvozdanovicFriend
Messages: 1
Registered: December 2017
Junior Member
I just started using Eclipse Oxygen for C development and I'm facing a problem with Content Assist which is not working on Ctrl+Space. I've tried all solutions posted around but none of them work. It seems there is a bug concerning key schemes. There should be three predefined schemes - Default, Emacs and Microsoft Visual Studio, but I also have another one called default. It is empty, I can use Restore Defaults which populates the key bindings, but it can't be either stored (next time I open it it is empty again) nor selected as active scheme.

Going to C/C++ -> Editor -> Content Assist -> Advanced shows that all proposal kinds are bound to that problematic default key scheme which is empty and can't be selected as active.

When I select Default (notice capital D) key scheme and add key binding for the Content Assist (Basic Proposals), then go to editor, start typing for example a function name and then press the newly assigned key shortcut I get the following dialog:

attachment: eclipse dialog. PNG


When I click on Advanced Content Assist preference page link and from there just click Cancel I suddenly get the list of proposals in the editor. To get the proposals list again I have to repeat the above steps.

My C/C++ -> Editor -> Content Assist -> Advanced preferences look like this:

attachment: eclipse prefs.PNG

So it seems nothing is wrong with my settings.

Any suggestion would be highly appreciated.
Re: Content Assist not working [message #1785420 is a reply to message #1778457] Fri, 13 April 2018 15:25 Go to previous message
Felix Pahl is currently offline Felix PahlFriend
Messages: 1
Registered: July 2009
Junior Member
I had the same problem and was able to solve it building on your analysis. In the "Default" key scheme, I unassigned Ctrl-Space from "Content Assist" and assigned it to "C/C++ Content Assist (Parsing-based proposals)". This now shows up as the key binding for parsing-based proposals in C/C++ -> Editor -> Content Assist -> Advanced. Of course now I get only parsing-based proposals, but that's OK for me; if I want others, I can bind another key to them. I haven't been able to figure out how to properly bind the entire Content Assist to a key.
Previous Topic:Juno version, Remote debugging option
Next Topic:Possible to "Upgrade" MinGW-w64?
Goto Forum:
  


Current Time: Thu Apr 25 04:47:41 GMT 2024

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

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

Back to the top