add contributes of rootPatterns
This commit is contained in:
parent
c24e356aa3
commit
1ce5fc0bb8
1 changed files with 30 additions and 0 deletions
30
package.json
30
package.json
|
@ -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",
|
||||
|
|
Loading…
Add table
Reference in a new issue