You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e965cfd
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: README.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,3 +12,9 @@ npm test
12
12
## Credits
13
13
14
14
This extension is based on https://github.com/microsoft/vscode/tree/main/extensions/typescript-language-features by Microsoft (License MIT)
15
+
16
+
### TypeScript 7
17
+
18
+
Set `"typescript.useTs7": true` and reload the window to use LVCE's bundled native TypeScript 7 language server. The default remains the TypeScript web worker. The native server requires a desktop or server host; a static browser deployment cannot launch it. Missing or unsupported native hosts report a language-server error rather than starting a second backend.
19
+
20
+
The application owns the executable and its standard libraries. No native TypeScript executable is included in `extension.tar.br`. Native mode uses LSP completion, diagnostics, navigation, hover, signature help, rename, symbols, formatting and code actions when the server advertises support. Editor-specific brace, closing-tag, tab and selection providers are unavailable in this mode. Worker performance/cache commands apply only to the default backend. Reloading also disposes the previous server.
Copy file name to clipboardExpand all lines: packages/extension/extension.json
+47Lines changed: 47 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,11 @@
28
28
"type": "array",
29
29
"default": [],
30
30
"description": "Prevalidated documents for static demos. Each entry must match the exact document URI, SHA-256 text hash, compiler configuration URI and SHA-256 configuration hash. Only use with fixed, validated project dependencies. Edits and missing evidence resume diagnostics; other language features are unaffected."
31
+
},
32
+
"typescript.useTs7": {
33
+
"type": "boolean",
34
+
"default": false,
35
+
"description": "Use the application-bundled TypeScript 7 language server instead of the TypeScript web worker. Requires a native LVCE host. Reload the window after changing this setting."
0 commit comments