- Support
javascript.preferGoToSourceDefinition
andtypescript.preferGoToSourceDefinition
#449. - Support refactor action
move to file
#445. - Support
javascript.unstable
andtypescript.unstable
, see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-0.html#case-insensitive-import-sorting-in-editors. - Fix update import on file rename may not work by increase delay #447.
- Support "Remove Unused Imports" source action.
- Support
tsserver.tsdk
as workspace folder value (should be path relative to workspace folder), only used whentsserver.useLocalTsdk
istrue
.
- Upgrade typescript to 4.9.3.
- Support
tsserver.useLocalTsdk
as user configuration, not recommended since the local typescript module could be outdated. - Fix range of completionItem when triggered by
#
- Avoid cache cancelled response for code lens.
- Pass
triggerReason
and kind for refactor request.
- Global
tsserver.tsdk
would be used when exists by default. - Fix action with
notApplicableReason
not disabled. - Added
TypeScriptAutoFixProvider
for provide source actions. - Added configurations:
tsserver.useLocalTsdk
tsserver.useSyntaxServer
tsserver.experimental.enableProjectDiagnostics
very experimental statetypescript.inlayHints.variableTypes.suppressWhenTypeMatchesName
javascript.inlayHints.variableTypes.suppressWhenTypeMatchesName
typescript.preferences.autoImportFileExcludePatterns
javascript.preferences.autoImportFileExcludePatterns
tsserver.implicitProjectConfig.module
tsserver.implicitProjectConfig.target
tsserver.implicitProjectConfig.strictNullChecks
tsserver.implicitProjectConfig.strictFunctionTypes
- Renamed configurations:
javascript.updateImportsOnFileMove.enable
=>javascript.updateImportsOnFileMove.enabled
typescript.updateImportsOnFileMove.enable
=>typescript.updateImportsOnFileMove.enabled
javascript.referencesCodeLens.enable
=>javascript.referencesCodeLens.enabled
typescript.referencesCodeLens.enable
=>typescript.referencesCodeLens.enabled
javascript.implementationsCodeLens.enable
=>javascript.implementationsCodeLens.enabled
typescript.format.enabled
=>typescript.format.enable
javascript.format.enabled
=>javascript.format.enable
typescript.implementationsCodeLens.enable
=>typescript.implementationsCodeLens.enabled
referencesCodeLens
andimplementationsCodeLens
changed to disabled by default.- Remove configuration
typescript.suggest.importStatements
, alwaystrue
. - Remove configuration
tsserver.ignoreLocalTsserver
, local tsserver not used by default, usetsserver.useLocalTsdk
to enable tsserver from workspace folder. watchBuild
use resolved config file returned from tsserver by default.- Add command
tsserver.chooseVersion
- Disable snippet function completion when following character is
(
. - Remove configuration
tsserver.typingsCacheLocation
. - Remove configuration
tsserver.formatOnType
. - Remove configuration
tsserver.enableJavascript
. - Remove configuration
tsserver.useBatchedBufferSync
. - Support preference tsserver
provideRefactorNotApplicableReason
. - Added
scope
for configurations, support some language-overridable configurations.
- Add command
tsserver.goToSourceDefinition
.
- Fix a fold issue #380
- Fix snippet completion not work for optional complete item.
- Avoid unnecessary fetch of format option.
- Add
typescript.suggest.objectLiteralMethodSnippets.enabled
- Support jsdoc completion.
- Add configurations
javascript.suggest.completeJSDocs
andtypescript.suggest.completeJSDocs
.
- Fix uri for
zipfile
.
- Add javascript snippets
- Fix command
tsserver.restart
not work
- Resued resolved tsserver path after
:CocRestart
- Watch for
tsserver.enable
configuration to change service state. - Fix tsserver not work well with
:CocList services
- Use documentChanges for workspaceEdit.
- Log to output when document content exceed limit of semantic tokens.
- Change default of
javascript.autoClosingTags
andtypescript.autoClosingTags
totrue
.
- Rework codeLens related.
- Change 'allImportsAreUnused' diagnostic kind to warning.
- Improve file pattern for config file.
- Inlay hints support (#335)
- use
TSS_DEBUG
&TSS_DEBUG_BRK
for debug port
- Add semanticTokens support #313
- Add jsxAttributeCompletionStyle settings #319
- Add command
tsserver.sortImports
#322 - Add suggest.classMemberSnippets.enabled configuration cd16da8
- Add suggest.jsdoc.generateReturns configuration 5a8c68f
- Add typescript.preferences.includePackageJsonAutoImports configuration 4d78b61
- Add tsserver.enableTracing configuration 43e6f62
- Add typescript.check.npmIsInstalled configuration 3bd84b1
- Support deprecated tag for document symbols, diagnostic, workspace symbols.
- Support call hierarchy.
- Support
tags
and access modifier for document symbols. - Support return
DefinitionLink[]
for definition provider.
- Support
tsserver.tsconfigPath
configuration.
- Support Import Statement Completions
- Support tag closing for JSX
- Support
typescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces
andypescript.format.insertSpaceAfterOpeningAndBeforeClosingEmptyBraces
- Support languages from plugins.
- Support
typescript.preferences.useAliasesForRenames
andjavascript.preferences.useAliasesForRenames
- Support the new path of Yarn v2 pnpify SDK.
- Us
tsserver.pluginPaths
replacetsserver.pluginRoot
.
- Support @ts-expect-error directive on tsserver v390.
- Support
tsserver.watchOptions
configuration.
- Add
preferences.importModuleSpecifierEnding
configuration. - Change
preferences.importModuleSpecifier
default toauto
.
- Support
tsserver.maxTsServerMemory
configuration.
- Support semicolons format option.
- support
format.enabled
configuration
- Use global tsc when local tsc not foun
- remove noSemicolons preferences
- Add missing option "auto" to importModuleSpecifier
- Add
tsserver.ignoreLocalTsserver
configuration.
- Support
b:coc_tsserver_disable
- fix suggestionActions.enabled configuration not working
- fix validate.enable not work sometimes
- Loading status.
- Batched buffer synchronize.
- Configuration for showUnused variable.
- Smart selection support.
- Support 'auto' as quoteStyle.
- Support 'validateDefaultNpmLocation'.
- rework of typescriptService, support interuptGetErr
- Support plugin feature.
- add codeAction provider for import missing node builtin modules.
- Add install module codeAction for module not found diagnostic.
- Rework
tsserver.watchBuild
, use background process, support statusline.
- Support autofix of node modules import
- Add command
tsserver.executeAutofix
- Add triggerCharacters for SignatureHelp
- Add typescript snippets from VSCode
- Fix throw error of "No content available" on completion.
- Support projectRootPath for document
- Support commitCharacters of completion items
- Add status bar support.
- Add settings
javascript.validate.enable
andtypescript.validate.enable
- Fix suggestionActions.enabled not works
- Use quickfix list for watchBuild errors
- Fix organizeImports not working sometimes
- Remove settings with
commaAfterImport
, usetypescript.preferences.noSemicolons
andjavasscript.preferences.noSemicolons
instead.
- Support diagnostic of config file.
- Remove unnecessary use of workspace terminal.
- Support rename import path: https://code.visualstudio.com/updates/v1_28#_rename-import-path
- Use new
suggest
for completion configuration: https://code.visualstudio.com/updates/v1_28#_new-settings-for-jsts-suggestions - Convert to async function: https://code.visualstudio.com/updates/v1_28#_convert-to-async-function
- Remove semicolons on format: set
typescript.preferences.noSemicolons
to true