You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Continuing #404 discussion, couldn't something be achieved with cscope (which seems to be the ctags equivalent for references /call hierarchy)?
I like the current lightweight ctags-based approach, as real "intellisense" is often hard to make work on projects using custom build systems, less error-resilient, and slower especially on network filesystems.
I was also surprised this feature was not available while trying VSCode again starting today, for the 3rd time in the last 3 years... Given this issue has been opened for over a year, is there a great deal of effort getting it done or is it motivation or priority related? Features like this shouldn't be kicked down the line and I believe the Go project for VSCode has the feature working. Given the length of time this has been opened I just want to make sure this is on developer's minds to get done, with that daily nagging feeling from knowing it's been on the todo list too long.
30 people have thumbs up'd, clearly this issue is important to users.
Reacted by aenima1891, Idan Pazi, MattAnderson1, Altamir Coelho, Oren, Isaac True, Dalton Hildreth, Koutheir A., Carter Green, guoqingaa and 40 more
Jason Newton (@nevion) We have recently started doing work that is expected to enable the Find All References feature, along with other VS 2017 C++ features that are not currently available, such as comments in hover and parameter help. We don't have an ETA.
Reacted by Sebastian Holmqvist, Toki, João Pinheiro, Kamil Kisiel, Rocky Tang, Guy Morita, Abhinav Gauniyal, Everton Dornelas, mdubrovs, Jordan Crane and 17 more
Reacted by Abhinav Gauniyal, Everton Dornelas, Chris, Clément Fischer, Henning Erlandsen, James Yu, Dalton Hildreth, guoqingaa, Matan Gover, Christoph Hinze and 3 more
Sean McManus (@sean-mcmanus) 'comments in hover' refer to documentation about certain methods present inside comments or something else? If it's the former, will it be tied to certain style like doxygen or standardese?
Abhinav Gauniyal (@agauniyal) It refers to showing the comments next to the definition/declaration of code, similar to what VS 2017 (you can try that to see how we expect it to behave). The internal style of the comments won't matter and we'd just show it as a comment.
While it's not as awesome as intellisense based symbols/tags, vscode-ag (silver searcher) is pretty fast to do searches. Although I wish it was more configurable, such as only searching cpp/c/h files like the command line version. Currently it searches everything in the folder. It might be an acceptable work around until the intellisense feature is available.
Find All References (and Peek References) is available via setting C_Cpp.updateChannel to "Insiders" (or manually install it from https://github.com/microsoft/vscode-cpptools/releases/tag/0.25.0-insiders ), and then setting the C_Cpp.experimentalFeatures setting to "Enabled" -- we hid the feature behind this setting so that we could get feedback on the feature from a smaller audience.
A bunch of "known issues" with the feature can be found at
Feature: Find All ReferencesFind All References, Peek References, Rename
. Please upvote the existing issues or file new issues if you encounter them. We would prefer you not to add the bugs to this issue, because it makes it harder to track.
Reacted by Mengjiao Lyu, nathanesau-tutorials, ookubo23, Idan Pazi, RCoredump, listenerri, James, Jimmy Wennlund, tokyophil, Tobias Brückner and 20 more
Reacted by Idan Pazi, RCoredump, listenerri, Jimmy Wennlund, Eric Hassold, tokyophil, Andre2020, Jin Mingjian, Mark Jan van Kampen, Sathyam Vellal and 5 more
Reacted by tokyophil, Andre2020, Grigori Goronzy, Sathyam Vellal, upsilonth, Winfried Baumann, Benjamin Saljooghi and GPla
Reacted by tokyophil, Andre2020, Sathyam Vellal, upsilonth, legal-username and RCoredump
We shipped Find All References (Experimental Version) with 0.25.0. A list of known enhancements/bugs can be found at
Feature: Find All ReferencesFind All References, Peek References, Rename
. Our current plan for 0.26.0 is to add rename and to move the Output window non-confirmed results to the References tree view #4079. The main feedback we've gotten is for improving the performance.
UPDATE: I renamed the issue with "Experimental Version" to try to prevent people from thinking we're 100% done with the feature (since this issue is "closed"), aka "Version 1".
Reacted by James, Elio, RCoredump, Shawn, Melroy van den Berg, atskyline, yuyiming, thatreguy, Dan, Hiker.Mon and 4 more
Reacted by Alexander Amelkin, hswhite33, Jon Henneberg, Melroy van den Berg and Himel
Still not working. VScode finds for example import { loader } but doesn't find import { loader as basicLoader }
I created jsconfig, installed 0.25.0-insiders and nothing :(
It works in small project, but not in large.
Activity
eddy-geek commentedon Mar 14, 2017
Continuing #404 discussion, couldn't something be achieved with cscope (which seems to be the ctags equivalent for references /call hierarchy)?
I like the current lightweight ctags-based approach, as real "intellisense" is often hard to make work on projects using custom build systems, less error-resilient, and slower especially on network filesystems.
sean-mcmanus commentedon Mar 14, 2017
We don't use cscope or ctags and are not planning to. We expect the IntelliSense implementation to work.
nevion commentedon Jul 12, 2017
I was also surprised this feature was not available while trying VSCode again starting today, for the 3rd time in the last 3 years... Given this issue has been opened for over a year, is there a great deal of effort getting it done or is it motivation or priority related? Features like this shouldn't be kicked down the line and I believe the Go project for VSCode has the feature working. Given the length of time this has been opened I just want to make sure this is on developer's minds to get done, with that daily nagging feeling from knowing it's been on the todo list too long.
30 people have thumbs up'd, clearly this issue is important to users.
sean-mcmanus commentedon Jul 12, 2017
Jason Newton (@nevion) We have recently started doing work that is expected to enable the Find All References feature, along with other VS 2017 C++ features that are not currently available, such as comments in hover and parameter help. We don't have an ETA.
agauniyal commentedon Aug 15, 2017
Sean McManus (@sean-mcmanus) 'comments in hover' refer to documentation about certain methods present inside comments or something else? If it's the former, will it be tied to certain style like doxygen or standardese?
sean-mcmanus commentedon Aug 15, 2017
Abhinav Gauniyal (@agauniyal) It refers to showing the comments next to the definition/declaration of code, similar to what VS 2017 (you can try that to see how we expect it to behave). The internal style of the comments won't matter and we'd just show it as a comment.
BryanDiLaura commentedon Nov 27, 2017
Really looking forward to this feature. Is there any sort of ETA?
sean-mcmanus commentedon Nov 27, 2017
Bryan DiLaura (@BryanDiLaura) There is no ETA for Find All References. Finding references that occur in different translation units requires additional infrastructure/porting work. Once we have an ETA, we'll post it in a milestone: https://github.com/Microsoft/vscode-cpptools/milestones .
techwoes commentedon Mar 7, 2018
While it's not as awesome as intellisense based symbols/tags, vscode-ag (silver searcher) is pretty fast to do searches. Although I wish it was more configurable, such as only searching cpp/c/h files like the command line version. Currently it searches everything in the folder. It might be an acceptable work around until the intellisense feature is available.
Yanpas commentedon Mar 9, 2018
BTW there is very powerful C++ extension cquery (https://marketplace.visualstudio.com/items?itemName=cquery-project.cquery)
It is blazingly fast, has all IDE features, including this one. I guess it's more reasonable to make this extension an official C++ one

agauniyal commentedon Mar 9, 2018
What do you mean by official?
Yanpas commentedon Mar 9, 2018
Default suggested one with green star label
aenima1891 commentedon Mar 23, 2018
I'm very interested in this feature.
It would be very useful
97 remaining items
MichaelDu9226 commentedon Aug 9, 2019
fixed?when will be released?Can't wait for it!Thanks~
starship863 commentedon Aug 9, 2019
Great! Let's celebrate!
sean-mcmanus commentedon Aug 9, 2019
Find All References (and Peek References) is available via setting C_Cpp.updateChannel to "Insiders" (or manually install it from https://github.com/microsoft/vscode-cpptools/releases/tag/0.25.0-insiders ), and then setting the C_Cpp.experimentalFeatures setting to "Enabled" -- we hid the feature behind this setting so that we could get feedback on the feature from a smaller audience.
A bunch of "known issues" with the feature can be found at Feature: Find All ReferencesFind All References, Peek References, Rename
. Please upvote the existing issues or file new issues if you encounter them. We would prefer you not to add the bugs to this issue, because it makes it harder to track.
yamcenutzer commentedon Aug 9, 2019
nice..
However, it doesn't seem to install on remote (ssh) sessions
bobbrow commentedon Aug 9, 2019
We're tracking #3833 and #3874 for the issues with Insiders in Remote workspaces.
sean-mcmanus commentedon Aug 22, 2019
We shipped Find All References (Experimental Version) with 0.25.0. A list of known enhancements/bugs can be found at Feature: Find All ReferencesFind All References, Peek References, Rename
. Our current plan for 0.26.0 is to add rename and to move the Output window non-confirmed results to the References tree view #4079. The main feedback we've gotten is for improving the performance.
UPDATE: I renamed the issue with "Experimental Version" to try to prevent people from thinking we're 100% done with the feature (since this issue is "closed"), aka "Version 1".
Konstantin6487 commentedon Aug 23, 2019
Still not working. VScode finds for example
import { loader }but doesn't findimport { loader as basicLoader }I created
jsconfig, installed 0.25.0-insiders and nothing :(It works in small project, but not in large.
LeThiHyVong commentedon Aug 23, 2019
Konstantin Bochinin (@Konstantin6487) what are you looking for?
This repo is C/C++ support extension of VSCode, not for other languages.
Konstantin6487 commentedon Aug 23, 2019
I'm sorry. I made a mistake. My problem is only with js.
[-]Find all references[/-][+]Find all references (Experimental Version)[/+]XobSod commentedon Aug 28, 2019
Hi all,
You guys did something to C_Cpp.PeekDeclaration command? After updating the extension error appears:
command 'C_Cpp.PeekDeclaration' not foundsean-mcmanus commentedon Aug 28, 2019
XobSod Yeah, it's removed -- we use the built-in Peek Declaration command now.