typescript-language-server
Advanced tools
Changelog
[0.9.2] - 2022-01-14
Changelog
[0.9.1] - 2022-01-07
Changelog
[0.9.0] - 2022-01-07
feat: implement additional code actions for handling auto-fixing (#318)
feat: report progress when loading the project (#326)
feat: add new preferences from typescript 4.5.3 (#304)
fix: correct matching of "only" kinds provided by the client (#334)
fix: pass format options for organizing import (#348)
fix: use snippet type for jsx attribute completions (#362)
Changelog
[0.8.1] - 2021-11-25
Changelog
[0.8.0] - 2021-11-21
feat: implement semantic tokens support (#290)
feat: add support for snippet completions for methods/functions (#303)
feat: ability to ignore diagnostics by code (#272)
Adds new diagnostics.ignoredCodes
workspace setting to ignore specific diagnostics.
feat: add npmLocation
option to specify NPM location (#293)
fix: don't announce support for codeActionKinds (#289)
fix: mark import completions as snippets (#291)
fix: specify minimum node version to be v12 (#301)
fix: ensure that the tsserver
subprocess uses forked node instance (#292)
Potentially BREAKING. The lookup of tsserver
was refactored to never use spawn
logic but instead always fork
the current node instance. See more info in the PR.
fix: exit the server if tsserver process crashes (#305)
fix: respect "includeDeclaration" for references request (#306)
Changelog
[0.7.1] - 2021-11-10
semver
dependency (#288)Changelog
[0.7.0] - 2021-11-09
Changes to default options sent to tsserver could affect behavior (hopefully for the better). Read changes below for more details.
feat: include import specifier for import completions (#281) For completions that import from another package, the completions will include a "detail" field with the name of the module.
Also aligned some other logic with the typescript language services used in VSCode:
feat: allow skip destructive actions on running OrganizeImports (#228) Add support for the new skipDestructiveCodeActions argument to TypeScript's organize imports feature - [1] to support [2].
Support is added in two places:
Also added documentation to the readme about the supported commands that can be manually executed.
[1] https://github.com/microsoft/TypeScript/issues/43051 [2] https://github.com/apexskier/nova-typescript/issues/273
feat: support running server on files without root workspace (#286)
The tsserver seems to be good at inferring the project configuration when opening single files without a workspace so don't crash on missing rootPath
.
feat: add disableAutomaticTypingAcquisition
option to disable automatic type acquisition (#285)
feat: update default tsserver options (#284) Set the following additional options by default:
allowRenameOfImportPath: true,
displayPartsForJSDoc: true,
generateReturnInDocTemplate: true,
includeAutomaticOptionalChainCompletions: true,
includeCompletionsForImportStatements: true,
includeCompletionsWithSnippetText: true,
This aligns more with the default options of the typescript language services in VSCode.
feat: announce support for "source.organizeImports.ts-ls" action (#283) Announcing support for that code action allows editors that support running code actions on save to automatically run the code action if the user has configured the editor with settings like
"codeActionsOnSave": {
"source.organizeImports": true,
// or
"source.organizeImports.ts-ls": true,
},
chore: change default log level from "warn" to "info" (#287)
Changelog
[0.6.5] - 2021-11-03
APPLY_COMPLETION_CODE_ACTION
command internally (#270)
This means that the clients that have implemented a custom handling for the _typescript.applyCompletionCodeAction
command can remove that code.
Without removing the custom handling everything should work as before but some edge cases might work better when custom handling is removed.textDocument/hover
(#276)Changelog
[0.6.4] - 2021-10-12
workspace/didChangeConfiguration
and setting formatting options per language (#268)Changelog
[0.6.3] - 2021-10-27