Skip to content

add command "Find All References of the current file" #41681

Closed

Description

I'd like to request a new command, which is kind of a follow-up of #22977. Said issue requested "Find All References of a file" to be triggerable from a typescript import line like this:

import {Obj} from "./myfile";

In the above line, I just need to trigger editor.action.referenceSearch.trigger (shift+f12), with the cursor being on `./myfile", and I'll get all places where the given file is imported— that is, #22977 is resolved and works, great! :) This is a demonstration of the currently working file-reference search:

screenshot of file-reference search

I'd like to have a new command to Find All References of the current file, which can be assigned a keybinding.

Currently, when I want to find all references of a file, I first need to search for a file which is importing the currently-active file. (I'm doing a global search of the filename/path.)

Activity

  1. added
    search
    on Jan 16, 2018
  2. removed
    search
    on Jan 16, 2018
  3. added
    feature-request
    javascript
    on Jan 16, 2018
  4. mjbvz commented on Jul 8, 2020

    @mjbvz
    Contributor

    Same feature request as #66150 (newer issue but that one has more upvotes)

  5. added
    *duplicate
    on Jul 8, 2020
  6. locked and limited conversation to collaborators on Aug 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

*duplicatefeature-requestjavascript

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions