- new optional API
fileSystemProvider.getContent
- new API
LanguageService.prepareRename, returningRange
- new API
LanguageService.findDocumentSymbols2, returningDocumentSymbol[]
- Update to
vscode-languageserver-types@3.17
- new formatter settings:
braceStyle,preserveNewLines,maxPreserveNewLines,wrapLineLength,indentEmptyLines
- renamed
CSSFormatConfiguration.selectorSeparatorNewlinetoCSSFormatConfiguration.newlineBetweenSelectors
- new API
LanguageService.format, based on the the css formatter from JS Beautifier (https://github.com/beautify-web/js-beautify) - new API
CSSFormatConfiguration
- new API
LanguageSettings.hover - New parameter
CompletionSettingsforLanguageService.doCompleteandLanguageService.doComplete2
- Update to
vscode-languageserver-types@3.16 - Removed deprecated
findColorSymbols
- New parameter
HoverSettingsforLanguageService.doHover: Defines whether the hover contains element documentation and/or a reference to MDN.
- module resolving in urls (
~foo/hello.html) when usingLanguageService.findDocumentLinks2and iffileSystemProvideris provided. - new API
LanguageService.doComplete2. Support path completion iffileSystemProvider.readDirectoryis provided. DocumentContext.resolveReferencecan also return undefined (if the ref is invalid)
- new API
LanguageServiceOptions.useDefaultDataProviderto control whether the default data provider is used. Defaults to true - new API
LanguageService.setDataProvidersto update the data providers.
- markdown descriptions in completions and hover
- new API
LanguageServiceOptions.clientCapabilitieswithClientCapabilitiesfor completion documentationFormat and hover content - extended format of CustomData (version 1.1) with MarkupContent contents and reference links
- new API
- dynamically resolved links for scss include statements
- new API
LanguageService.findDocumentLinks2: Also returns dynamically resolved links iffileSystemProvideris provided - new API
LanguageServiceOptions.fileSystemProviderwithFileSystemProviderto query the file system (currently used to resolve the location of included files)
- new API
- new API
CompletionSettings.completePropertyWithSemicolon - new API
ICompletionParticipant.onCssMixinReference - Switch to
TextDocumentfromvscode-languageserver-textdocument(reexported from the main module)
LanguageServiceOptions.customDataProvidersallows you to use custom datasets for properties, at-properties, pseudo-classes and pseudo-elements.- New API
LanguageService.getSelectionRanges
- Selector hover shows specificity
- New linter setting
validProperties: a comma separated list of all properties not to be included in validation checking.
- New API
ICompletionParticipant.onCssImportPathto participate on @import statement. - New API
LanguageService.doCodeActions2returning code actions asCodeAction[].
- Use MDN data for to enhance CSS properties definition. See #91.
- New API
LanguageService.getFoldingRangesreturning folding ranges in the given document.
- Provide ems modules in lib/esm
- Changed API
LanguageService.getColorPresentations: separate parametersrangeandcolor(to match LS API)
- New API
LanguageService.getColorPresentationsreturning presentations for a given color. - New API type
ColorPresentationadded.
- New API
LanguageService.findDocumentColorsreturning the location and value of all colors in a document. - New API types
ColorInformationandColoradded. - Deprecated
LanguageService.findColorSymbols. UseLanguageService.findDocumentColorsinstead.
- New argument
documentSettingstoLanguageService.doValidationto support resource specific settings. If present, document settings are used instead of the options passed in configure.
- Updating to language server type 3.0 API.