diff --git a/extensions/typescript-language-features/package.json b/extensions/typescript-language-features/package.json index fbf6217c68c..e9c7c598a8e 100644 --- a/extensions/typescript-language-features/package.json +++ b/extensions/typescript-language-features/package.json @@ -1069,19 +1069,8 @@ "explorer/context": [ { "command": "typescript.findAllFileReferences", - "when": "tsSupportsFileReferences && resourceLangId == javascript" - }, - { - "command": "typescript.findAllFileReferences", - "when": "tsSupportsFileReferences && resourceLangId == javascriptreact" - }, - { - "command": "typescript.findAllFileReferences", - "when": "tsSupportsFileReferences && resourceLangId == typescript" - }, - { - "command": "typescript.findAllFileReferences", - "when": "tsSupportsFileReferences && resourceLangId == typescriptreact" + "when": "tsSupportsFileReferences && (resourceLangId == javascript || resourceLangId == javascriptreact || resourceLangId == typescript || resourceLangId == typescriptreact)", + "group": "4_search" } ], "editor/title/context": [