Skip to content

Find all references (Experimental Version) #15

Closed

Description

Would be great to have Find all references working. Huge helper in large projects.

Activity

  1. eddy-geek commented on Mar 14, 2017

    @eddy-geek

    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.

  2. sean-mcmanus commented on Mar 14, 2017

    @sean-mcmanus
    Contributor

    We don't use cscope or ctags and are not planning to. We expect the IntelliSense implementation to work.

  3. nevion commented on Jul 12, 2017

    @nevion

    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.

  4. sean-mcmanus commented on Jul 12, 2017

    @sean-mcmanus
    Contributor

    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.

  5. agauniyal commented on Aug 15, 2017

    @agauniyal

    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?

  6. sean-mcmanus commented on Aug 15, 2017

    @sean-mcmanus
    Contributor

    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.

  7. BryanDiLaura commented on Nov 27, 2017

    @BryanDiLaura

    Really looking forward to this feature. Is there any sort of ETA?

  8. sean-mcmanus commented on Nov 27, 2017

    @sean-mcmanus
    Contributor

    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 .

  9. techwoes commented on Mar 7, 2018

    @techwoes

    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.

  10. Yanpas commented on Mar 9, 2018

    @Yanpas

    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
    aa

  11. agauniyal commented on Mar 9, 2018

    @agauniyal

    What do you mean by official?

  12. Yanpas commented on Mar 9, 2018

    @Yanpas

    Default suggested one with green star label

  13. aenima1891 commented on Mar 23, 2018

    @aenima1891

    I'm very interested in this feature.
    It would be very useful

  14. 97 remaining items

  15. MichaelDu9226 commented on Aug 9, 2019

    @MichaelDu9226

    fixed?when will be released?Can't wait for it!Thanks~

  16. starship863 commented on Aug 9, 2019

    @starship863

    fixed?when will be released?Can't wait for it!Thanks~

    Great! Let's celebrate!

  17. sean-mcmanus commented on Aug 9, 2019

    @sean-mcmanus
    Contributor

    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 References Find 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.

  18. yamcenutzer commented on Aug 9, 2019

    @yamcenutzer

    nice..
    However, it doesn't seem to install on remote (ssh) sessions

  19. bobbrow commented on Aug 9, 2019

    @bobbrow
    Contributor

    We're tracking #3833 and #3874 for the issues with Insiders in Remote workspaces.

  20. sean-mcmanus commented on Aug 22, 2019

    @sean-mcmanus
    Contributor

    We shipped Find All References (Experimental Version) with 0.25.0. A list of known enhancements/bugs can be found at Feature: Find All References Find 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".

  21. Konstantin6487 commented on Aug 23, 2019

    @Konstantin6487

    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.

  22. LeThiHyVong commented on Aug 23, 2019

    @LeThiHyVong

    Konstantin Bochinin (@Konstantin6487) what are you looking for?
    This repo is C/C++ support extension of VSCode, not for other languages.

  23. Konstantin6487 commented on Aug 23, 2019

    @Konstantin6487

    I'm sorry. I made a mistake. My problem is only with js.

  24. changed the title [-]Find all references[/-] [+]Find all references (Experimental Version)[/+] on Aug 23, 2019
  25. XobSod commented on Aug 28, 2019

    @XobSod

    Hi all,

    You guys did something to C_Cpp.PeekDeclaration command? After updating the extension error appears:
    command 'C_Cpp.PeekDeclaration' not found

  26. sean-mcmanus commented on Aug 28, 2019

    @sean-mcmanus
    Contributor

    XobSod Yeah, it's removed -- we use the built-in Peek Declaration command now.

  27. locked and limited conversation to collaborators on Oct 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Feature RequestLanguage ServicefixedCheck the Milestone for the release in which the fix is or will be available.

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions