typescript-language-server 3.2.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +19 -0
- package/README.md +17 -6
- package/lib/cli.mjs +1 -1
- package/lib/cli.mjs.map +1 -1
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [3.3.1](https://github.com/typescript-language-server/typescript-language-server/compare/v3.3.0...v3.3.1) (2023-03-27)
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Bug Fixes
|
|
8
|
+
|
|
9
|
+
* don't report InternalError on tsserver error response ([#709](https://github.com/typescript-language-server/typescript-language-server/issues/709)) ([3e63165](https://github.com/typescript-language-server/typescript-language-server/commit/3e6316546eb5c8b6fd2fb8c26c88b7b6a6331472))
|
|
10
|
+
|
|
11
|
+
## [3.3.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.2.0...v3.3.0) (2023-02-20)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* start separate tsServer instance for semantic requests ([#688](https://github.com/typescript-language-server/typescript-language-server/issues/688)) ([fa65b84](https://github.com/typescript-language-server/typescript-language-server/commit/fa65b847f4a87672cc28302f38fd86e8f56d6112))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
* **completions:** include `filterText` property by default ([#693](https://github.com/typescript-language-server/typescript-language-server/issues/693)) ([c07426a](https://github.com/typescript-language-server/typescript-language-server/commit/c07426adc8b079273c267e18d11993d53d482886))
|
|
22
|
+
|
|
4
23
|
## [3.2.0](https://github.com/typescript-language-server/typescript-language-server/compare/v3.1.0...v3.2.0) (2023-02-14)
|
|
5
24
|
|
|
6
25
|
|
package/README.md
CHANGED
|
@@ -74,16 +74,17 @@ typescript-language-server --stdio
|
|
|
74
74
|
|
|
75
75
|
The language server accepts various settings through the `initializationOptions` object passed through the `initialize` request. Refer to your LSP client's documentation on how to set these. Here is the list of supported options:
|
|
76
76
|
|
|
77
|
-
| Setting | Type | Description
|
|
78
|
-
|
|
79
|
-
| hostInfo | string | Information about the host, for example `"Emacs 24.4"` or `"Sublime Text v3075"`. **Default**: `undefined`
|
|
77
|
+
| Setting | Type | Description |
|
|
78
|
+
|:------------------|:---------|:--------------------------------------------------------------------------------------|
|
|
79
|
+
| hostInfo | string | Information about the host, for example `"Emacs 24.4"` or `"Sublime Text v3075"`. **Default**: `undefined` |
|
|
80
|
+
| completionDisableFilterText | boolean | Don't set `filterText` property on completion items. **Default**: `false` |
|
|
80
81
|
| disableAutomaticTypingAcquisition | boolean | Disables tsserver from automatically fetching missing type definitions (`@types` packages) for external modules. |
|
|
81
82
|
| maxTsServerMemory | number | The maximum size of the V8's old memory section in megabytes (for example `4096` means 4GB). The default value is dynamically configured by Node so can differ per system. Increase for very big projects that exceed allowed memory usage. **Default**: `undefined` |
|
|
82
83
|
| npmLocation | string | Specifies the path to the NPM executable used for Automatic Type Acquisition. |
|
|
83
84
|
| locale | string | The locale to use to show error messages. |
|
|
84
|
-
| plugins | object[] | An array of `{ name: string, location: string }` objects for registering a Typescript plugins. **Default**: []
|
|
85
|
-
| preferences | object | Preferences passed to the Typescript (`tsserver`) process. See below for more
|
|
86
|
-
| tsserver | object | Options related to the `tsserver` process. See below for more
|
|
85
|
+
| plugins | object[] | An array of `{ name: string, location: string }` objects for registering a Typescript plugins. **Default**: [] |
|
|
86
|
+
| preferences | object | Preferences passed to the Typescript (`tsserver`) process. See below for more |
|
|
87
|
+
| tsserver | object | Options related to the `tsserver` process. See below for more |
|
|
87
88
|
|
|
88
89
|
The `tsserver` setting specifies additional options related to the internal `tsserver` process, like tracing and logging.
|
|
89
90
|
|
|
@@ -118,6 +119,16 @@ interface TsserverOptions {
|
|
|
118
119
|
* @default 'off'
|
|
119
120
|
*/
|
|
120
121
|
trace?: 'off' | 'messages' | 'verbose';
|
|
122
|
+
/**
|
|
123
|
+
* Whether a dedicated server is launched to more quickly handle syntax related operations, such as computing diagnostics or code folding.
|
|
124
|
+
*
|
|
125
|
+
* Allowed values:
|
|
126
|
+
* - auto: Spawn both a full server and a lighter weight server dedicated to syntax operations. The syntax server is used to speed up syntax operations and provide IntelliSense while projects are loading.
|
|
127
|
+
* - never: Don't use a dedicated syntax server. Use a single server to handle all IntelliSense operations.
|
|
128
|
+
*
|
|
129
|
+
* @default 'auto'
|
|
130
|
+
*/
|
|
131
|
+
useSyntaxServer?: 'auto' | 'never';
|
|
121
132
|
}
|
|
122
133
|
```
|
|
123
134
|
|