Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 318940 - header completion via Ctrl-Space stopped working in final Helios release
Summary: header completion via Ctrl-Space stopped working in final Helios release
Status: RESOLVED DUPLICATE of bug 294910
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: PC Linux
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-05 16:30 EDT by Vadym Krevs CLA
Modified: 2010-07-06 03:15 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadym Krevs CLA 2010-07-05 16:30:14 EDT
Build Identifier:  20100617-1415

I have a medium sized (~8000 files) makefile-based C++ project. In Helios RC1-4 it was possible to complete the name of an include header by hitting Ctrl-Space while typing the name of the header. E.g., '#include "myhead<Ctrl-Space>' resulted in '#include "myheader.h"', etc.

As of final Helios build, this seems to be broken. It can be demonstrated using the standard Hello world makefile project as described below.



Reproducible: Always

Steps to Reproduce:
1. Create a new workspace. Right-click in Project Explorer, select "New->C++ Project", "Makefile project, "Hello World C++ project", "Linux GCC toolchain", and use "testproj" as the project name. Click finish.

2. In the generated testproj.cpp position the cursor below the last #include directive, and type '#include <std' and hit Ctrl-Space. The first time this is done in a brand new workspace, I get a popup with a bunch of proposals such as stdatomic.h, etc.
3. Position the cursor on the next line and repeat. Start typing '#include <std' and hit Ctrl-Space. You get a "<No default proposals> popup.
4. Try adding a new header to the project called foo.h. Then type '#include "foo' and hit Ctrl-Space - still no joy.
Comment 1 Andrew Gvozdev CLA 2010-07-05 17:27:56 EDT
Open Window > Preferences > C/C++ > Editor > Content Assist > Advanced and enable "Parsing-Based Proposals".

*** This bug has been marked as a duplicate of bug 294910 ***
Comment 2 Vadym Krevs CLA 2010-07-06 03:15:40 EDT
Should that not be the default for any new workspace in Helios CDT?