3.7 KiB
3.7 KiB
5.0.0 / 2022-05-18
- Update to
vscode-languageserver-types@3.17
4.2.0 / 2021-11-29
- Added new API
htmlLanguageService.doQuoteComplete. Called after anattribute=, it will compute either""or''depending onCompletionConfiguration.attributeDefaultValueor null, if no quote completion should be performed.
4.1.0 / 2021-09-27
- New settings
CompletionConfiguration.attributeDefaultValue. Defines how attribute values are completed: With single or double quotes, or no quotes.
4.0.0 / 2020-12-14
- Update to
vscode-languageserver-types@3.16
3.2.0 / 2020-11-30
- New parameter
HoverSettingsforLanguageService.doHover: Defines whether the hover contains element documentation and/or a reference to MDN. - Deprecated
LanguageService.findOnTypeRenameRanges, replaced by New APILanguageService.findLinkedEditingRanges.
3.1.0 / 2020-07-29
- Use
TextDocumentfromvscode-languageserver-textdocument - Fix formatting for
<p>tags with optional closing - New API
LanguageService.findOnTypeRenameRanges. For a given position, find the matching close tag so they can be renamed synchronously. - New API
LanguageServiceOptions.customDataProvidersto add the knowledge of custom tags, attributes and attribute-values andLanguageService.setDataProvidersto update the data providers. - New API
getDefaultHTMLDataProviderto get the default HTML data provider andnewHTMLDataProviderto create a new provider from data. - New API
LanguageServiceOptions.fileSystemProviderwithFileSystemProviderto query the file system (currently used for path completion) - New API
LanguageService.doComplete2which is synchronous and also returns path completion proposals whenLanguageServiceOptions.fileSystemProvideris provided.
3.0.3 / 2019-07-25
DocumentContext.resolveReferencecan also return undefined (if the ref is invalid)
3.0.0 / 2019-06-12
- Added API
htmlLanguageService.getSelectionRangesreturning selection ranges for a set of positions - New API
newHTMLDataProvider
2.1.3 / 2018-04-16
- Added API
htmlLanguageService.getFoldingRangesreturning folding ranges for the given document
2.1.0 / 2018-03-08
- Added API
htmlLanguageService.setCompletionParticipantsthat allows participation in code completion - provide ES modules in lib/esm
2.0.6 / 2017-08-25
- Added new API
htmlLanguageService.doTagComplete. Called behind a>or\,doTagCompletewill compute a closing tag. The result is a snippet string that can be inserted behind the position, or null, if no tag completion should be performed. - New settings
CompletionConfiguration.hideAutoCompleteProposals. If set,doCompletewill not propose a closing tag proposals on>. - These APIs are experimental and might be improved.
2.0.3 / 2017-03-21
- Fix indentation issues when formatting a range
2.0.1 / 2017-02-21
- Support for base URLs.
DocumentContext.resolveReferencenow gets the base URI to take into account when resolving a reference. Refer to links.test.ts for guidance on how to implement aDocumentContext. - Added
htmlLanguageService.findDocumentSymbols: Returns a symbol for each tag in the document. Symbol name is in the formtag(#id)?(.class)+.
2.0.0 / 2017-02-17
- Updating to language server type 3.0 API