Skip to content

Commit 3a67ec5

Browse files
Register tsdk for workspace (#755)
1 parent 9b1963c commit 3a67ec5

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.vscode/settings.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,9 @@
1919
"editor.insertSpaces": true,
2020
"editor.detectIndentation": false,
2121
"editor.tabSize": 4,
22-
"tslint.autoFixOnSave": true,
23-
"typescript.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
22+
"js/ts.format.insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
2423
"html.format.unformatted": "wbr,%",
25-
"typescript.tsdk": "node_modules\\typescript\\lib",
24+
"js/ts.tsdk.path": "node_modules\\typescript\\lib",
2625
"svelte.plugin.svelte.compilerWarnings": {
2726
"a11y-aria-attributes": "ignore",
2827
"a11y-incorrect-aria-attribute-type": "ignore",
@@ -47,5 +46,5 @@
4746
"a11y-mouse-events-have-key-events": "ignore",
4847
"a11y-missing-content": "ignore",
4948
"a11y-click-events-have-key-events": "ignore"
50-
}
49+
},
5150
}

workspace.code-workspace

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@
2121
"path": "../brighterscript-formatter"
2222
}
2323
],
24-
"settings": {}
25-
}
24+
"settings": {
25+
"js/ts.tsdk.path": "⚡vscode-brightscript-language\\node_modules\\typescript\\lib"
26+
}
27+
}

0 commit comments

Comments
 (0)