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

Go to Definition on a #include path doesn't use the IntelliSense info #2564

Closed
sean-mcmanus opened this issue Sep 26, 2018 · 5 comments
Closed
Labels
Feature: Go to Definition An issue related to Go to Definition/Declaration. Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
Milestone

Comments

@sean-mcmanus
Copy link
Collaborator

sean-mcmanus commented Sep 26, 2018

It should go to the definition that is actually being used by the current translation unit (i.e. not showing all the files that match the include path).

@sean-mcmanus
Copy link
Collaborator Author

sean-mcmanus commented Nov 30, 2018

It looks like this will be fixed via invoking the new #include completion at the end of the #include.

@sean-mcmanus
Copy link
Collaborator Author

@bobbrow Users are frequently hitting this . It makes them think their project isn't configured correctly when it is. See all the linked issues.

@bobbrow
Copy link
Member

bobbrow commented Mar 28, 2020

We should move this into the next release then.

@bobbrow bobbrow modified the milestones: Post-v1, 1.0 Mar 28, 2020
@bobbrow bobbrow added this to To do in 0.28.0 via automation Mar 28, 2020
@bobbrow bobbrow moved this from To do to On Deck in 0.28.0 Apr 14, 2020
@sean-mcmanus sean-mcmanus moved this from On Deck to In progress in 0.28.0 Apr 15, 2020
@bobbrow bobbrow moved this from In progress to On Deck in 0.28.0 Apr 16, 2020
@sean-mcmanus sean-mcmanus moved this from On Deck to Done in 0.28.0 Apr 17, 2020
@sean-mcmanus sean-mcmanus added the fixed Check the Milestone for the release in which the fix is or will be available. label Apr 17, 2020
@sean-mcmanus sean-mcmanus removed their assignment Apr 17, 2020
@ghuser404
Copy link

This works, but may be too slow at times. Sometimes it takes 30 seconds to jump into correct header. Is anything being done about IntelliSense performance?

@elahehrashedi
Copy link
Contributor

This issue is fixed in 0.28.0.
0.28.0 release: https://github.com/microsoft/vscode-cpptools/releases/tag/0.28.0

@github-actions github-actions bot locked and limited conversation to collaborators Oct 12, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Feature: Go to Definition An issue related to Go to Definition/Declaration. Feature Request fixed Check the Milestone for the release in which the fix is or will be available. Language Service quick fix
Projects
No open projects
0.28.0
  
Done
Development

No branches or pull requests

4 participants