提交 37a9b31e 编写于 作者: M Matt Bierner

Hide TS commands when not in js/ts file

上级 7c13230a
......@@ -512,6 +512,18 @@
{
"command": "javascript.goToProjectConfig",
"when": "editorLangId == javascriptreact && typescript.isManagedFile"
},
{
"command": "typescript.selectTypeScriptVersion",
"when": "typescript.isManagedFile"
},
{
"command": "typescript.openTsServerLog",
"when": "typescript.isManagedFile"
},
{
"command": "typescript.restartTsServer",
"when": "typescript.isManagedFile"
}
]
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册