Community
Participate
Working Groups
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.
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 ***
Should that not be the default for any new workspace in Helios CDT?