@volar/language-core
Advanced tools
Changelog
2.1.6 (2024-03-28)
Changelog
2.1.4 (2024-03-22)
updateTextDocument
, updateConfiguration
, didChangeWatchedFiles
Changelog
2.1.3 (2024-03-20)
SemanticToken
tuple membersStatusBarItem
to LanguageStatusItem
Changelog
2.1.2 (2024-03-07)
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)