Language-tools: VSCode: Implement reference browser command (editor.action.referenceSearch.trigger)

Created on 24 Sep 2020  路  2Comments  路  Source: sveltejs/language-tools

Is your feature request related to a problem? Please describe.

VSCode has this command to list and browse references, command for that is called editor.action.referenceSearch.trigger

Example from JS file, it can be used to browse and navigate between references:

image

I use it all the time in other languages to navigate. This is a missing feature from the language server I think. It could be added to the checkbox list in here: https://github.com/sveltejs/language-tools/issues/83

Thanks for considering.

Fixed enhancement

Most helpful comment

Find references now works inside Svelte files. Note though that you will not find references of Svelte files when doing the "find references" search from a TS/JS file. This is tracked in #580 .

All 2 comments

LSP Spec which we would need to implement.

Find references now works inside Svelte files. Note though that you will not find references of Svelte files when doing the "find references" search from a TS/JS file. This is tracked in #580 .

Was this page helpful?
0 / 5 - 0 ratings