Commit 5e55f52
committed
feat(typescript): auto-enable project-wide code intelligence
On the first JS/TS file opened in a config-less project, create a
jsconfig.json so vtsls scopes the whole project (cross-file Find Usages,
Rename, Go to Definition) and show an unobtrusive toast with See Config /
Enable TypeScript / Learn more. The toast uses a new reusable SUBTLE
NotificationUI style and opens instantly (instantOpen).
Deleting the config opts out (remembered per project via a 'created'
flag, so it is not recreated); the Problems panel then shows a re-enable
row for JS/TS files. Always creates jsconfig.json (editor-only, never
affects builds) which still scopes .ts files. Desktop-only; skipped in
test windows.1 parent 80cad50 commit 5e55f52
6 files changed
Lines changed: 534 additions & 2 deletions
File tree
- docs/API-Reference/widgets
- src
- extensions/default/TypeScriptSupport
- nls/root
- styles
- widgets
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| 77 | + | |
77 | 78 | | |
78 | 79 | | |
79 | 80 | | |
| |||
0 commit comments