vscode-find-related
vscode-find-related copied to clipboard
Support labels for matched files
It would be really nice if you could assign a name to locators that described what they are, so that when you view related files you could see the path as well as what they "are" e.g.
{
"pattern": "(app)/routes/(.*)\\.js$",
"locators": [
{ "label": "Template", "glob": "$1/templates/$2.hbs"},
{ "label": "Controller", "glob": "$1/controllers/$2.js"}
]
}
Which might display something like:
Files related to account.js • app/routes: |
---|
Template app/templates/account.hbs |
Controller app/controllers/account.js |