-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
"Find all references" Not working #404
Comments
What extension do you have installed? I assume the C/C++ extension? You may need to set your include paths by running C/Cpp: Edit Configurations and modifying the c_cpp_properties.json. |
Hy @sean-mcmanus. Thank you for the fast reply. Also, just found the console and am seeing a lot of errors there. Not sure if there are from the extension or vscode.
I've modified the paths from warning, they don't point to the same file. |
Sorry, I misunderstood your report originally. The C/C++ extension doesn't currently implement Find All References. The option shouldn't be shown for C/C++ files unless you have some other extension installed that is trying to handle it. |
You are right. It was an other extension. |
Also seems to be the same as #361 |
Is this on the roadmap? Is it technically difficult? I feel like this highly useful navigation feature (the only approximation of "Call hierarchy" we can have for now) should be higher priority... It's also a jarring user-experience, I spent a few minutes hitting Shift+F12 repeatedly and wondering why vscode was broken, until I found out that it worked everywhere else (python, typscript, go...) but c++. |
Yes, it's on the roadmap, but it's not first in line. We can't really do this very accurately until proper intellisense is added in. The tag parser we use for autocomplete right now doesn't have any semantic knowledge of symbols. It doesn't see local variables either. |
Actually, we have another issue tracking "find all references" (#15). I will close this one. |
The search tool (magnifying glass in the left-side toolbar) will display all references |
@sean-mcmanus : Is "find all references" now supported ? I am using VS code version 1.27.2 and the C/C++ IntelliSense extension. |
@princehektor No, it's not supported yet. Find all references is being tracked at #15 . We're working on some of the pre-requisite implementation. |
@lifuguan Our C/C++ extension doesn't not currently expose a Find All References command, so it must be coming from another extension. |
Just updated november version. The hotkey combination (shfit+fn+option+F12) is working but using mouse/click is not working. |
Have the same version on ubuntu 16.04 and windows: Version: 1.30.1 (user setup) "Find all references" feature is present on windows, but doesn't work. In my opinion this is basic code browsing feature. What should I do to make this feature released? |
@metal4people We have not shipped Find All References yet, see #15 , so I'm not sure why you think it's present on Windows -- I assume from another extension. It is a feature near the top of our priorities, but we still have (lots of) users having problems configuring IntelliSense so we might make more fixes in that area first. |
Find All References is available in 0.25.0-insiders: https://github.com/microsoft/vscode-cpptools/releases/tag/0.25.0-insiders , but you'll need to set the C_Cpp.experimentalFeatures setting to "Enabled". |
I want to disable the find all references feature in cpptools, how to do that? |
There is no way to do that. Why do you want to disable it? You don't have to use the feature if you don't want to. |
@mkitby Are you using another extensions as a references provider, but still using our extension for other stuff? Is setting C_Cpp.intelliSenseEngine to "Disabled" insufficient? |
Moved from microsoft/vscode#17070
From @dfroze
Version 1.7.2
Commit 7ba55c5860b152d999dda59393ca3ebeb1b5c85f
Date 2016-11-21T22:14:18.217Z
Shell 1.3.8
Renderer 52.0.2743.82
Node 6.5.0
Since the first time I installed the vscode till now (so it isn't only just recent), this feature never worked for me. It always showed an empty list. I thought that it was a cpptool problem but they never responded.
Can anyone help me with it? Do I need to configure something !?
Thank you.
The text was updated successfully, but these errors were encountered: