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

Document and workspace symbol search not listing variables #449

Open
mikuslusens opened this issue Aug 5, 2017 · 4 comments
Open

Document and workspace symbol search not listing variables #449

mikuslusens opened this issue Aug 5, 2017 · 4 comments

Comments

@mikuslusens
Copy link

  • OS: Windows 7 x64
  • PHP version: 7.1.7
  • VS Code version: 1.14.2
  • PHP Intellisense vesion: 1.5.0

Not sure if this is the right place for posting this but here goes. This isn't a huge problem for me, as the project I'm working on is fairly small, but this might become a bigger problem in the future. My project does not contain any classes, methods, properties, interfaces or namespaces, so I don't know about those, but functions and constants do show up in the list, only variables are missing. The project does appear to be properly indexed, as things like going to definition are working fine. I was hoping that someone might have some idea as to what might be causing this, because I have no clue.

@duplicate-issues
Copy link

Hey @mikuslusens,

We did a quick check and this issue looks very darn similar to

This could be a coincidence, but if any of these issues solves your problem then I did a good job 😄

If not, the maintainers will get to this issue shortly.

Cheers,
Your Friendly Neighborhood ProBot

@mikuslusens
Copy link
Author

Not even close, sadly.

@felixfbecker
Copy link
Owner

This is by design for performance reasons and to not clutter the list. Do you have a use case for them?

@mikuslusens
Copy link
Author

mikuslusens commented Aug 6, 2017

Oh, I see. Well, like I said it's not a big deal for me, I simply thought that they where supposed to be listed because that is "advertised" in the extension's (and repo's) description. I thought it might be useful for a larger project, but I suppose performance and cluttering are valid reasons to exclude them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants