Skip to content

Commit 965171f

Browse files
committed
Update CHANGELOG
1 parent 585cc27 commit 965171f

File tree

1 file changed

+43
-0
lines changed

1 file changed

+43
-0
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,46 @@
1+
## 14.1.0
2+
3+
### New features
4+
5+
- Show refactors with code actions
6+
7+
This is intended to help with discovering and using refactors. Only really works with intentions ui.
8+
9+
- Make tsserver user preferences configurable
10+
11+
The following options added to the package settings:
12+
13+
* `importModuleSpecifierEnding`
14+
* `importModuleSpecifierPreference`
15+
* `quotePreference`
16+
* `includeCompletionsForModuleExports` (experimental)
17+
18+
Additionally, these (and other) settings can be configured in `tsconfig.json` by adding `preferences` property to the top-level JSON object, e.g.
19+
20+
```json
21+
{
22+
"compilerOptions": {},
23+
"preferences": {
24+
"quotePreference": "double"
25+
}
26+
}
27+
```
28+
29+
You can find the full list of user preference options with descriptions in the [TypeScript sources](https://github.com/microsoft/TypeScript/blob/68925b66f4e7eb4ef6081cdc7a0f05a0bd874171/lib/protocol.d.ts#L2422)
30+
31+
Not all of these are supported by all TypeScript versions. Setting some options can also break things, so tread carefully.
32+
33+
Note that `includeCompletionsForModuleExports` controls autocompletion behaviour: if it is enabled, autocompletions from all project module exports will be added for "bare" exports. Whether this is desirable depends on your perspective and the project you're working on, hence the option is opt-in.
34+
35+
- Add support for completions with code actions
36+
37+
Some completions (e.g. ones for externally-defined identifiers) can require additional actions for the code to work. Atom-TypeScript now supports such completions and should apply the required actions (like adding `import` directives)
38+
39+
### Maintenance
40+
41+
- Send triggerCharacter to tsserver
42+
- Add triggerReason to getApplicableRefactors invocation
43+
144
## 14.0.3
245

346
- Do not enable debug in dev mode

0 commit comments

Comments
 (0)