| Summary: | Content-assist/autocomplete no longer works for #include directives | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Kenny Peng <kpeng> |
| Component: | cdt-indexer | Assignee: | Project Inbox <cdt-indexer-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | aleherb+eclipse, scobido1984 |
| Version: | 7.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
Most likely the include search path is not set up correctly. Please attach a parser log for the file where content assist is not working for you: Context menu of file in project explorer - Index - Create Parser Log Could also be a Mylyn problem - see bug 294910. (In reply to comment #2) > Could also be a Mylyn problem - see bug 294910. Disabling the Mylyn plugins got the content-assist to work somewhat, although it feels nowhere as responsive as it used to be. It takes a few tries of Ctrl+Space switching to get the proposals to come up.(In reply to comment #2) In the Preferences window, look at "Content Assist"->'Advanced" make sure that "Parsing-based Proposals" is checked. I checked all of the proposal kinds, it worked for me... If you don't like the cycling of proposals you can turn it off: Preferences - C/C++ - Editor - Content Assist - Advanced. *** This bug has been marked as a duplicate of bug 294910 *** |
Build Identifier: 20100617-1415 In Galileo/CDT 6.0, when I pressed Ctrl+Space, it used to present me with a list of matching headers when I typed the #include directive. Now in CDT 7.0, it no longer finds any headers, it always says "No completions available" in the Default Proposals context pop-up. It does know to follow the file if I type the entire header name out and Ctrl+Click. Reproducible: Always Steps to Reproduce: 1. Type the beginning of a header inclusion directive, e.g. "#include <iostr" 2. Press Ctrl-Space to trigger Content-Assist 3. Status bar says "No completions available", Default Proposals list is empty ("No Default Proposals")