Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add auto-complete support for headers #802

Closed
imhuay opened this issue Jun 6, 2017 · 8 comments
Closed

Add auto-complete support for headers #802

imhuay opened this issue Jun 6, 2017 · 8 comments
Assignees
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@imhuay
Copy link

imhuay commented Jun 6, 2017

ref: https://code.visualstudio.com/docs/languages/cpp#_getting-started

Why it can't auto-complete #include headers or intellisense the headers in other word , even I config the c_cpp_properties.json.
Can it intellisense the headers of the PATH?

Thx in advence!

@bobbrow
Copy link
Member

bobbrow commented Jun 6, 2017

We don't have support for this yet.

@bobbrow bobbrow changed the title Autocomplete problem Add auto-complete support for headers Jul 6, 2017
@azydevelopment
Copy link

For the longest time I was wondering why my autocomplete wasn't working. Makes sense now.

(PS. Hi Bob -AY)

@azydevelopment
Copy link

Is this a planned addition? No details in the milestone/assignee field.

@sean-mcmanus
Copy link
Collaborator

@azydevelopment It's not something we're planning on adding in the near term.

@bobbrow
Copy link
Member

bobbrow commented Apr 24, 2018

A preview of this feature is available in the insiders release

@bobbrow
Copy link
Member

bobbrow commented May 8, 2018

This is implemented in 0.17.0.

@bobbrow bobbrow closed this as completed May 8, 2018
@elegracer
Copy link

Intellisense is still unable to autocomplete the #include for custom includePath, e.g. "/usr/local/include".

This feature is provided by the extension "ajshort.include-autocomplete", but it can only use the includePath in "c_cpp_properties.json" instead of the "C_Cpp.default.includePath" in the user settings.

Could you please add this feature? It would be quite convenient if Intellisense can do this.

@sean-mcmanus
Copy link
Collaborator

@joueurh This is supposed to work. Can you file a new issue with more repro info? You can enable logging to see if the "/usr/local/include" path is being added to your includePath.

image

@github-actions github-actions bot locked and limited conversation to collaborators Oct 17, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Projects
None yet
Development

No branches or pull requests

6 participants