vscode-css-languageservice
Advanced tools
Comparing version 5.2.0 to 5.3.0
5.3.0 / 2022-03-23 | ||
================== | ||
* renamed `CSSFormatConfiguration.selectorSeparatorNewline` to `CSSFormatConfiguration.newlineBetweenSelectors` | ||
5.2.0 / 2022-03-17 | ||
@@ -3,0 +7,0 @@ ================== |
@@ -220,4 +220,4 @@ import { Range, Position, DocumentUri, MarkupContent, MarkupKind, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind, SelectionRange, Diagnostic, DiagnosticSeverity, CompletionItem, CompletionItemKind, CompletionList, CompletionItemTag, InsertTextFormat, DefinitionLink, SymbolInformation, SymbolKind, DocumentSymbol, Location, Hover, MarkedString, CodeActionContext, Command, CodeAction, DocumentHighlight, DocumentLink, WorkspaceEdit, TextEdit, CodeActionKind, TextDocumentEdit, VersionedTextDocumentIdentifier, DocumentHighlightKind } from 'vscode-languageserver-types'; | ||
insertFinalNewline?: boolean; | ||
/** separate selectors with newline or not (e.g. "a,\nbr" or "a, br"): Default: true */ | ||
selectorSeparatorNewline?: boolean; | ||
/** separate selectors with newline (e.g. "a,\nbr" or "a, br"): Default: true */ | ||
newlineBetweenSelectors?: boolean; | ||
/** add a new line after every css rule: Default: true */ | ||
@@ -227,2 +227,4 @@ newlineBetweenRules?: boolean; | ||
spaceAroundSelectorSeparator?: boolean; | ||
/** @deprecated Use newlineBetweenSelectors instead*/ | ||
selectorSeparatorNewline?: boolean; | ||
} |
@@ -64,3 +64,3 @@ /*--------------------------------------------------------------------------------------------- | ||
end_with_newline: includesEnd && getFormatOption(options, 'insertFinalNewline', false), | ||
selector_separator_newline: getFormatOption(options, 'selectorSeparatorNewline', true), | ||
selector_separator_newline: getFormatOption(options, 'newlineBetweenSelectors', true), | ||
newline_between_rules: getFormatOption(options, 'newlineBetweenRules', true), | ||
@@ -67,0 +67,0 @@ space_around_selector_separator: getFormatOption(options, 'spaceAroundSelectorSeparator', false) |
@@ -220,4 +220,4 @@ import { Range, Position, DocumentUri, MarkupContent, MarkupKind, Color, ColorInformation, ColorPresentation, FoldingRange, FoldingRangeKind, SelectionRange, Diagnostic, DiagnosticSeverity, CompletionItem, CompletionItemKind, CompletionList, CompletionItemTag, InsertTextFormat, DefinitionLink, SymbolInformation, SymbolKind, DocumentSymbol, Location, Hover, MarkedString, CodeActionContext, Command, CodeAction, DocumentHighlight, DocumentLink, WorkspaceEdit, TextEdit, CodeActionKind, TextDocumentEdit, VersionedTextDocumentIdentifier, DocumentHighlightKind } from 'vscode-languageserver-types'; | ||
insertFinalNewline?: boolean; | ||
/** separate selectors with newline or not (e.g. "a,\nbr" or "a, br"): Default: true */ | ||
selectorSeparatorNewline?: boolean; | ||
/** separate selectors with newline (e.g. "a,\nbr" or "a, br"): Default: true */ | ||
newlineBetweenSelectors?: boolean; | ||
/** add a new line after every css rule: Default: true */ | ||
@@ -227,2 +227,4 @@ newlineBetweenRules?: boolean; | ||
spaceAroundSelectorSeparator?: boolean; | ||
/** @deprecated Use newlineBetweenSelectors instead*/ | ||
selectorSeparatorNewline?: boolean; | ||
} |
@@ -76,3 +76,3 @@ /*--------------------------------------------------------------------------------------------- | ||
end_with_newline: includesEnd && getFormatOption(options, 'insertFinalNewline', false), | ||
selector_separator_newline: getFormatOption(options, 'selectorSeparatorNewline', true), | ||
selector_separator_newline: getFormatOption(options, 'newlineBetweenSelectors', true), | ||
newline_between_rules: getFormatOption(options, 'newlineBetweenRules', true), | ||
@@ -79,0 +79,0 @@ space_around_selector_separator: getFormatOption(options, 'spaceAroundSelectorSeparator', false) |
{ | ||
"name": "vscode-css-languageservice", | ||
"version": "5.2.0", | ||
"version": "5.3.0", | ||
"description": "Language service for CSS, LESS and SCSS", | ||
@@ -5,0 +5,0 @@ "main": "./lib/umd/cssLanguageService.js", |
3093744
72813