vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Find all references (Experimental Version)

Open csholmq opened this issue 10 years ago • 96 comments

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

csholmq avatar Apr 17 '16 16:04 csholmq

@HunterZ No external tools will be required.

sean-mcmanus avatar Jul 16 '19 20:07 sean-mcmanus

is it usable or not now?

legal-username avatar Jul 31 '19 09:07 legal-username

@pig-peppa We're currently doing functionality and performance testing -- we might be able to release an Insider vsix next week or so.

sean-mcmanus avatar Jul 31 '19 23:07 sean-mcmanus

up

tooyangtoonaive avatar Aug 06 '19 08:08 tooyangtoonaive

For those following this eagerly like me, this is the pull request: #4016.

It is only the VSCode configuration part of the change though. I think the meat of the work is in the closed-source intellisense engine, so I don't think we can try it out yet. Getting closer though!

Timmmm avatar Aug 08 '19 09:08 Timmmm

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

MichaelDu9226 avatar Aug 09 '19 00:08 MichaelDu9226

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

Great! Let's celebrate!

starship863 avatar Aug 09 '19 01:08 starship863

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 https://github.com/microsoft/vscode-cpptools/labels/Feature%3A%20Find%20All%20References . 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.

sean-mcmanus avatar Aug 09 '19 02:08 sean-mcmanus

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

yamcenutzer avatar Aug 09 '19 12:08 yamcenutzer

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

bobbrow avatar Aug 09 '19 16:08 bobbrow

We shipped Find All References (Experimental Version) with 0.25.0. A list of known enhancements/bugs can be found at https://github.com/microsoft/vscode-cpptools/labels/Feature%3A%20Find%20All%20References . 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".

sean-mcmanus avatar Aug 22 '19 01:08 sean-mcmanus

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.

Konstantin6487 avatar Aug 23 '19 07:08 Konstantin6487

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

LeThiHyVong avatar Aug 23 '19 11:08 LeThiHyVong

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

Konstantin6487 avatar Aug 23 '19 11:08 Konstantin6487

Hi all,

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

XobSod avatar Aug 28 '19 13:08 XobSod

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

sean-mcmanus avatar Aug 28 '19 21:08 sean-mcmanus