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

No definition problem #2245

Closed
h2s0109 opened this issue Jul 9, 2018 · 2 comments
Closed

No definition problem #2245

h2s0109 opened this issue Jul 9, 2018 · 2 comments
Labels
bug fixed Check the Milestone for the release in which the fix is or will be available. Language Service
Milestone

Comments

@h2s0109
Copy link

h2s0109 commented Jul 9, 2018

Type: LanguageService
----- Input information below -----

Please review existing issues and our documentation at https://github.com/Microsoft/vscode-cpptools/tree/master/Documentation prior to filing an issue.

Describe the bug

  • OS and Version: window 10
  • VS Code Version:1.25
  • C/C++ Extension Version:0.17.6
  • Other extensions you installed (and if the issue persists after disabling them):
  • A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:
Provide a code sample including configuration files such as c_cpp_properties.json
go to definition is not work.
please see below figure.
I attach the code for your investigation.

image
0_Src.zip

Thanks.

@bobbrow
Copy link
Member

bobbrow commented Jul 9, 2018

Thanks for the easy repro. Macros were not being considered as matches when followed by a dot. I have a fix for this.

@sean-mcmanus sean-mcmanus added this to the 0.17.7 milestone Jul 9, 2018
@sean-mcmanus sean-mcmanus added bug Language Service fixed Check the Milestone for the release in which the fix is or will be available. labels Jul 9, 2018
@sean-mcmanus
Copy link
Collaborator

Go to definition on macros followed by . and -> has been fixed with 0.17.7.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug 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

3 participants