@volar/typescript
Advanced tools
Changelog
2.1.1 (2024-03-05)
locale
option #142Changelog
2.1.0 (2024-02-26)
@volar/language-service
, but instead calculated and passed as initialIndentLevel
, which is then reliably handled by ServicePlugin for additional indentation in specific languages.provideDocumentFormattingEdits
and provideOnTypeFormattingEdits
APIs now accept the EmbeddedCodeFormattingOptions
parameter, which includes initialIndentLevel
.ServicePlugin.provideFormattingIndentSensitiveLines
API.volar.format.initialIndent
editor setting.ServicePlugin.resolveEmbeddedCodeFormattingOptions
API, allowing downstream tools to modify the initialIndentLevel
passed to ServicePlugin based on custom settings (replacing volar.format.initialIndent
).ClientCapabilities
param for initialize()
APIsendDocumentRangeFormattingRequestRequest()
and shutdown()
APIcreateSimpleProjectProvider
has been renamed to createSimpleProjectProviderFactory
and needs to be invoked with no arguments.createTypeScriptProjectProvider
has been renamed to createTypeScriptProjectProviderFactory
and needs to be invoked with a TS module as an argument.typescript#tsdk
, typescript#tsdkUrl
, ignoreTriggerCharacters
initialization options.fullCompletionList
initialization option. #139provideDiagnosticMarkupContent
API.pushDiagnostics
should not be notified when closing a file if server push diagnostics are not enabledprovideSelectionRanges
API multiple result merging method is inconsistent with VSCodeprovideDocumentSemanticTokens
API's range
param is not mapped to virtual codeprovideDocumentFormattingEdits
API's range
param is not accurately mapped to virtual code #136openInMemoryDocument()
insertText
and range
properties of completion item not converted correctlyChangelog
2.0.4 (2024-02-13)
Changelog
2.0.3 (2024-02-10)
Changelog
2.0.1 (2024-02-05)
FileRegistry
in proxyCreateProgram()
#128currentLabsVersion
to 2
lib/quickstart/create(Async)TSServerPlugin
, please use lib/quickstart/create(Async)LanguageServicePlugin
instead of