add contributes of rootPatterns

This commit is contained in:
chemzqm 2019-04-04 18:06:38 +08:00
parent c24e356aa3
commit 1ce5fc0bb8

View file

@ -34,6 +34,36 @@
"onCommand:tsserver.watchBuild"
],
"contributes": {
"rootPatterns": [
{
"filetype": "javascript",
"patterns": [
"package.json",
"jsconfig.json"
]
},
{
"filetype": "javascriptreact",
"patterns": [
"package.json",
"jsconfig.json"
]
},
{
"filetype": "typescript",
"patterns": [
"package.json",
"tsconfig.json"
]
},
{
"filetype": "typescriptreact",
"patterns": [
"package.json",
"tsconfig.json"
]
}
],
"commands": [
{
"title": "Reload current project",