Skip to content

Commit 5e55f52

Browse files
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/NotificationUI.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ CSS class names for notification styles.
7474
| SUCCESS | <code>string</code> | <code>&quot;style-success&quot;</code> |
7575
| ERROR | <code>string</code> | <code>&quot;style-error&quot;</code> |
7676
| DANGER | <code>string</code> | <code>&quot;style-danger&quot;</code> |
77+
| SUBTLE | <code>string</code> | <code>&quot;style-subtle&quot;</code> |
7778

7879
<a name="module_widgets/NotificationUI..CLOSE_REASON"></a>
7980

0 commit comments

Comments
 (0)