vscode-css-languageservice 5.4.2 → 6.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -1
- package/SECURITY.md +41 -0
- package/lib/esm/beautify/beautify-css.js +11 -4
- package/lib/esm/cssLanguageService.d.ts +2 -1
- package/lib/esm/cssLanguageService.js +15 -17
- package/lib/esm/cssLanguageTypes.js +2 -2
- package/lib/esm/data/webCustomData.js +356 -232
- package/lib/esm/languageFacts/builtinData.js +15 -15
- package/lib/esm/languageFacts/colors.js +66 -69
- package/lib/esm/languageFacts/dataManager.js +38 -42
- package/lib/esm/languageFacts/dataProvider.js +17 -23
- package/lib/esm/languageFacts/entry.js +22 -23
- package/lib/esm/parser/cssErrors.js +5 -7
- package/lib/esm/parser/cssNodes.js +869 -1377
- package/lib/esm/parser/cssParser.js +419 -376
- package/lib/esm/parser/cssScanner.js +168 -175
- package/lib/esm/parser/cssSymbolScope.js +107 -137
- package/lib/esm/parser/lessParser.js +177 -202
- package/lib/esm/parser/lessScanner.js +22 -43
- package/lib/esm/parser/scssErrors.js +5 -7
- package/lib/esm/parser/scssParser.js +196 -208
- package/lib/esm/parser/scssScanner.js +33 -54
- package/lib/esm/services/cssCodeActions.js +36 -40
- package/lib/esm/services/cssCompletion.js +300 -395
- package/lib/esm/services/cssFolding.js +32 -35
- package/lib/esm/services/cssFormatter.js +22 -22
- package/lib/esm/services/cssHover.js +30 -33
- package/lib/esm/services/cssNavigation.js +260 -289
- package/lib/esm/services/cssSelectionRange.js +6 -6
- package/lib/esm/services/cssValidation.js +13 -16
- package/lib/esm/services/lessCompletion.js +351 -370
- package/lib/esm/services/lint.js +161 -175
- package/lib/esm/services/lintRules.js +20 -27
- package/lib/esm/services/lintUtil.js +19 -28
- package/lib/esm/services/pathCompletion.js +84 -158
- package/lib/esm/services/scssCompletion.js +283 -307
- package/lib/esm/services/scssNavigation.js +65 -137
- package/lib/esm/services/selectorPrinting.js +131 -175
- package/lib/esm/utils/arrays.js +6 -12
- package/lib/esm/utils/objects.js +1 -1
- package/lib/esm/utils/resources.js +3 -16
- package/lib/esm/utils/strings.js +10 -12
- package/lib/umd/beautify/beautify-css.js +11 -4
- package/lib/umd/cssLanguageService.d.ts +2 -1
- package/lib/umd/cssLanguageService.js +34 -32
- package/lib/umd/cssLanguageTypes.js +4 -3
- package/lib/umd/data/webCustomData.js +355 -231
- package/lib/umd/languageFacts/colors.js +65 -68
- package/lib/umd/languageFacts/dataManager.js +41 -44
- package/lib/umd/languageFacts/dataProvider.js +17 -22
- package/lib/umd/languageFacts/entry.js +22 -23
- package/lib/umd/languageFacts/facts.js +5 -1
- package/lib/umd/parser/cssErrors.js +5 -6
- package/lib/umd/parser/cssNodes.js +870 -1307
- package/lib/umd/parser/cssParser.js +424 -380
- package/lib/umd/parser/cssScanner.js +168 -173
- package/lib/umd/parser/cssSymbolScope.js +109 -134
- package/lib/umd/parser/lessParser.js +182 -206
- package/lib/umd/parser/lessScanner.js +22 -42
- package/lib/umd/parser/scssErrors.js +5 -6
- package/lib/umd/parser/scssParser.js +202 -213
- package/lib/umd/parser/scssScanner.js +25 -45
- package/lib/umd/services/cssCodeActions.js +41 -44
- package/lib/umd/services/cssCompletion.js +308 -402
- package/lib/umd/services/cssFolding.js +35 -38
- package/lib/umd/services/cssFormatter.js +25 -25
- package/lib/umd/services/cssHover.js +36 -38
- package/lib/umd/services/cssNavigation.js +267 -295
- package/lib/umd/services/cssSelectionRange.js +8 -8
- package/lib/umd/services/cssValidation.js +17 -19
- package/lib/umd/services/lessCompletion.js +354 -372
- package/lib/umd/services/lint.js +167 -180
- package/lib/umd/services/lintRules.js +20 -24
- package/lib/umd/services/lintUtil.js +20 -28
- package/lib/umd/services/pathCompletion.js +87 -160
- package/lib/umd/services/scssCompletion.js +287 -310
- package/lib/umd/services/scssNavigation.js +69 -140
- package/lib/umd/services/selectorPrinting.js +134 -174
- package/lib/umd/utils/arrays.js +6 -12
- package/lib/umd/utils/objects.js +1 -1
- package/lib/umd/utils/resources.js +4 -17
- package/lib/umd/utils/strings.js +10 -12
- package/package.json +16 -15
package/lib/esm/utils/strings.js
CHANGED
|
@@ -7,7 +7,7 @@ export function startsWith(haystack, needle) {
|
|
|
7
7
|
if (haystack.length < needle.length) {
|
|
8
8
|
return false;
|
|
9
9
|
}
|
|
10
|
-
for (
|
|
10
|
+
for (let i = 0; i < needle.length; i++) {
|
|
11
11
|
if (haystack[i] !== needle[i]) {
|
|
12
12
|
return false;
|
|
13
13
|
}
|
|
@@ -18,7 +18,7 @@ export function startsWith(haystack, needle) {
|
|
|
18
18
|
* Determines if haystack ends with needle.
|
|
19
19
|
*/
|
|
20
20
|
export function endsWith(haystack, needle) {
|
|
21
|
-
|
|
21
|
+
let diff = haystack.length - needle.length;
|
|
22
22
|
if (diff > 0) {
|
|
23
23
|
return haystack.lastIndexOf(needle) === diff;
|
|
24
24
|
}
|
|
@@ -39,17 +39,16 @@ export function endsWith(haystack, needle) {
|
|
|
39
39
|
* @param first a string
|
|
40
40
|
* @param second a string
|
|
41
41
|
*/
|
|
42
|
-
export function difference(first, second, maxLenDelta) {
|
|
43
|
-
|
|
44
|
-
var lengthDifference = Math.abs(first.length - second.length);
|
|
42
|
+
export function difference(first, second, maxLenDelta = 4) {
|
|
43
|
+
let lengthDifference = Math.abs(first.length - second.length);
|
|
45
44
|
// We only compute score if length of the currentWord and length of entry.name are similar.
|
|
46
45
|
if (lengthDifference > maxLenDelta) {
|
|
47
46
|
return 0;
|
|
48
47
|
}
|
|
49
48
|
// Initialize LCS (largest common subsequence) matrix.
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
49
|
+
let LCS = [];
|
|
50
|
+
let zeroArray = [];
|
|
51
|
+
let i, j;
|
|
53
52
|
for (i = 0; i < second.length + 1; ++i) {
|
|
54
53
|
zeroArray.push(0);
|
|
55
54
|
}
|
|
@@ -71,8 +70,7 @@ export function difference(first, second, maxLenDelta) {
|
|
|
71
70
|
/**
|
|
72
71
|
* Limit of string length.
|
|
73
72
|
*/
|
|
74
|
-
export function getLimitedString(str, ellipsis) {
|
|
75
|
-
if (ellipsis === void 0) { ellipsis = true; }
|
|
73
|
+
export function getLimitedString(str, ellipsis = true) {
|
|
76
74
|
if (!str) {
|
|
77
75
|
return '';
|
|
78
76
|
}
|
|
@@ -85,14 +83,14 @@ export function getLimitedString(str, ellipsis) {
|
|
|
85
83
|
* Limit of string length.
|
|
86
84
|
*/
|
|
87
85
|
export function trim(str, regexp) {
|
|
88
|
-
|
|
86
|
+
const m = regexp.exec(str);
|
|
89
87
|
if (m && m[0].length) {
|
|
90
88
|
return str.substr(0, str.length - m[0].length);
|
|
91
89
|
}
|
|
92
90
|
return str;
|
|
93
91
|
}
|
|
94
92
|
export function repeat(value, count) {
|
|
95
|
-
|
|
93
|
+
let s = '';
|
|
96
94
|
while (count > 0) {
|
|
97
95
|
if ((count & 1) === 1) {
|
|
98
96
|
s += value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// copied from js-beautify/js/lib/beautify-css.js
|
|
2
|
-
// version: 1.14.
|
|
2
|
+
// version: 1.14.6
|
|
3
3
|
/* AUTO-GENERATED. DO NOT MODIFY. */
|
|
4
4
|
/*
|
|
5
5
|
|
|
@@ -1093,6 +1093,7 @@ function Beautifier(source_text, options) {
|
|
|
1093
1093
|
"@document": true
|
|
1094
1094
|
};
|
|
1095
1095
|
this.NON_SEMICOLON_NEWLINE_PROPERTY = [
|
|
1096
|
+
"grid-template-areas",
|
|
1096
1097
|
"grid-template"
|
|
1097
1098
|
];
|
|
1098
1099
|
|
|
@@ -1424,7 +1425,8 @@ Beautifier.prototype.beautify = function() {
|
|
|
1424
1425
|
}
|
|
1425
1426
|
}
|
|
1426
1427
|
} else if (this._ch === '"' || this._ch === '\'') {
|
|
1427
|
-
|
|
1428
|
+
var preserveQuoteSpace = previous_ch === '"' || previous_ch === '\'';
|
|
1429
|
+
this.preserveSingleSpace(preserveQuoteSpace || isAfterSpace);
|
|
1428
1430
|
this.print_string(this._ch + this.eatString(this._ch));
|
|
1429
1431
|
this.eatWhitespace(true);
|
|
1430
1432
|
} else if (this._ch === ';') {
|
|
@@ -1468,7 +1470,12 @@ Beautifier.prototype.beautify = function() {
|
|
|
1468
1470
|
}
|
|
1469
1471
|
}
|
|
1470
1472
|
} else {
|
|
1471
|
-
|
|
1473
|
+
var space_needed = false;
|
|
1474
|
+
if (this._input.lookBack("with")) {
|
|
1475
|
+
// look back is not an accurate solution, we need tokens to confirm without whitespaces
|
|
1476
|
+
space_needed = true;
|
|
1477
|
+
}
|
|
1478
|
+
this.preserveSingleSpace(isAfterSpace || space_needed);
|
|
1472
1479
|
this.print_string(this._ch);
|
|
1473
1480
|
|
|
1474
1481
|
// handle scss/sass map
|
|
@@ -1526,7 +1533,7 @@ Beautifier.prototype.beautify = function() {
|
|
|
1526
1533
|
this._ch = '';
|
|
1527
1534
|
}
|
|
1528
1535
|
} else if (this._ch === '!' && !this._input.lookBack("\\")) { // !important
|
|
1529
|
-
this.
|
|
1536
|
+
this._output.space_before_token = true;
|
|
1530
1537
|
this.print_string(this._ch);
|
|
1531
1538
|
} else {
|
|
1532
1539
|
var preserveAfterSpace = previous_ch === '"' || previous_ch === '\'';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LanguageSettings, ICompletionParticipant, DocumentContext, LanguageServiceOptions, Diagnostic, Position, CompletionList, Hover, Location, DocumentHighlight, DocumentLink, SymbolInformation, Range, CodeActionContext, Command, CodeAction, ColorInformation, Color, ColorPresentation, WorkspaceEdit, FoldingRange, SelectionRange, TextDocument, ICSSDataProvider, CSSDataV1, HoverSettings, CompletionSettings, TextEdit, CSSFormatConfiguration } from './cssLanguageTypes';
|
|
1
|
+
import { LanguageSettings, ICompletionParticipant, DocumentContext, LanguageServiceOptions, Diagnostic, Position, CompletionList, Hover, Location, DocumentHighlight, DocumentLink, SymbolInformation, Range, CodeActionContext, Command, CodeAction, ColorInformation, Color, ColorPresentation, WorkspaceEdit, FoldingRange, SelectionRange, TextDocument, ICSSDataProvider, CSSDataV1, HoverSettings, CompletionSettings, TextEdit, CSSFormatConfiguration, DocumentSymbol } from './cssLanguageTypes';
|
|
2
2
|
export declare type Stylesheet = {};
|
|
3
3
|
export * from './cssLanguageTypes';
|
|
4
4
|
export interface LanguageService {
|
|
@@ -19,6 +19,7 @@ export interface LanguageService {
|
|
|
19
19
|
*/
|
|
20
20
|
findDocumentLinks2(document: TextDocument, stylesheet: Stylesheet, documentContext: DocumentContext): Promise<DocumentLink[]>;
|
|
21
21
|
findDocumentSymbols(document: TextDocument, stylesheet: Stylesheet): SymbolInformation[];
|
|
22
|
+
findDocumentSymbols2(document: TextDocument, stylesheet: Stylesheet): DocumentSymbol[];
|
|
22
23
|
doCodeActions(document: TextDocument, range: Range, context: CodeActionContext, stylesheet: Stylesheet): Command[];
|
|
23
24
|
doCodeActions2(document: TextDocument, range: Range, context: CodeActionContext, stylesheet: Stylesheet): CodeAction[];
|
|
24
25
|
findDocumentColors(document: TextDocument, stylesheet: Stylesheet): ColorInformation[];
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
2
2
|
if (k2 === undefined) k2 = k;
|
|
3
|
-
Object.
|
|
3
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
4
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
5
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
6
|
+
}
|
|
7
|
+
Object.defineProperty(o, k2, desc);
|
|
4
8
|
}) : (function(o, m, k, k2) {
|
|
5
9
|
if (k2 === undefined) k2 = k;
|
|
6
10
|
o[k2] = m[k];
|
|
@@ -24,23 +28,23 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
24
28
|
'use strict';
|
|
25
29
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
30
|
exports.getLESSLanguageService = exports.getSCSSLanguageService = exports.getCSSLanguageService = exports.newCSSDataProvider = exports.getDefaultCSSDataProvider = void 0;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
31
|
+
const cssParser_1 = require("./parser/cssParser");
|
|
32
|
+
const cssCompletion_1 = require("./services/cssCompletion");
|
|
33
|
+
const cssHover_1 = require("./services/cssHover");
|
|
34
|
+
const cssNavigation_1 = require("./services/cssNavigation");
|
|
35
|
+
const cssCodeActions_1 = require("./services/cssCodeActions");
|
|
36
|
+
const cssValidation_1 = require("./services/cssValidation");
|
|
37
|
+
const scssParser_1 = require("./parser/scssParser");
|
|
38
|
+
const scssCompletion_1 = require("./services/scssCompletion");
|
|
39
|
+
const lessParser_1 = require("./parser/lessParser");
|
|
40
|
+
const lessCompletion_1 = require("./services/lessCompletion");
|
|
41
|
+
const cssFolding_1 = require("./services/cssFolding");
|
|
42
|
+
const cssFormatter_1 = require("./services/cssFormatter");
|
|
43
|
+
const dataManager_1 = require("./languageFacts/dataManager");
|
|
44
|
+
const dataProvider_1 = require("./languageFacts/dataProvider");
|
|
45
|
+
const cssSelectionRange_1 = require("./services/cssSelectionRange");
|
|
46
|
+
const scssNavigation_1 = require("./services/scssNavigation");
|
|
47
|
+
const webCustomData_1 = require("./data/webCustomData");
|
|
44
48
|
__exportStar(require("./cssLanguageTypes"), exports);
|
|
45
49
|
function getDefaultCSSDataProvider() {
|
|
46
50
|
return newCSSDataProvider(webCustomData_1.cssData);
|
|
@@ -52,10 +56,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
52
56
|
exports.newCSSDataProvider = newCSSDataProvider;
|
|
53
57
|
function createFacade(parser, completion, hover, navigation, codeActions, validation, cssDataManager) {
|
|
54
58
|
return {
|
|
55
|
-
configure:
|
|
59
|
+
configure: (settings) => {
|
|
56
60
|
validation.configure(settings);
|
|
57
|
-
completion.configure(settings
|
|
58
|
-
hover.configure(settings
|
|
61
|
+
completion.configure(settings?.completion);
|
|
62
|
+
hover.configure(settings?.hover);
|
|
59
63
|
},
|
|
60
64
|
setDataProviders: cssDataManager.setDataProviders.bind(cssDataManager),
|
|
61
65
|
doValidation: validation.doValidation.bind(validation),
|
|
@@ -70,7 +74,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
70
74
|
findDocumentHighlights: navigation.findDocumentHighlights.bind(navigation),
|
|
71
75
|
findDocumentLinks: navigation.findDocumentLinks.bind(navigation),
|
|
72
76
|
findDocumentLinks2: navigation.findDocumentLinks2.bind(navigation),
|
|
73
|
-
findDocumentSymbols: navigation.
|
|
77
|
+
findDocumentSymbols: navigation.findSymbolInformations.bind(navigation),
|
|
78
|
+
findDocumentSymbols2: navigation.findDocumentSymbols.bind(navigation),
|
|
74
79
|
doCodeActions: codeActions.doCodeActions.bind(codeActions),
|
|
75
80
|
doCodeActions2: codeActions.doCodeActions2.bind(codeActions),
|
|
76
81
|
findDocumentColors: navigation.findDocumentColors.bind(navigation),
|
|
@@ -80,22 +85,19 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
80
85
|
getSelectionRanges: cssSelectionRange_1.getSelectionRanges
|
|
81
86
|
};
|
|
82
87
|
}
|
|
83
|
-
|
|
84
|
-
function getCSSLanguageService(options) {
|
|
85
|
-
|
|
86
|
-
var cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
88
|
+
const defaultLanguageServiceOptions = {};
|
|
89
|
+
function getCSSLanguageService(options = defaultLanguageServiceOptions) {
|
|
90
|
+
const cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
87
91
|
return createFacade(new cssParser_1.Parser(), new cssCompletion_1.CSSCompletion(null, options, cssDataManager), new cssHover_1.CSSHover(options && options.clientCapabilities, cssDataManager), new cssNavigation_1.CSSNavigation(options && options.fileSystemProvider, false), new cssCodeActions_1.CSSCodeActions(cssDataManager), new cssValidation_1.CSSValidation(cssDataManager), cssDataManager);
|
|
88
92
|
}
|
|
89
93
|
exports.getCSSLanguageService = getCSSLanguageService;
|
|
90
|
-
function getSCSSLanguageService(options) {
|
|
91
|
-
|
|
92
|
-
var cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
94
|
+
function getSCSSLanguageService(options = defaultLanguageServiceOptions) {
|
|
95
|
+
const cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
93
96
|
return createFacade(new scssParser_1.SCSSParser(), new scssCompletion_1.SCSSCompletion(options, cssDataManager), new cssHover_1.CSSHover(options && options.clientCapabilities, cssDataManager), new scssNavigation_1.SCSSNavigation(options && options.fileSystemProvider), new cssCodeActions_1.CSSCodeActions(cssDataManager), new cssValidation_1.CSSValidation(cssDataManager), cssDataManager);
|
|
94
97
|
}
|
|
95
98
|
exports.getSCSSLanguageService = getSCSSLanguageService;
|
|
96
|
-
function getLESSLanguageService(options) {
|
|
97
|
-
|
|
98
|
-
var cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
99
|
+
function getLESSLanguageService(options = defaultLanguageServiceOptions) {
|
|
100
|
+
const cssDataManager = new dataManager_1.CSSDataManager(options);
|
|
99
101
|
return createFacade(new lessParser_1.LESSParser(), new lessCompletion_1.LESSCompletion(options, cssDataManager), new cssHover_1.CSSHover(options && options.clientCapabilities, cssDataManager), new cssNavigation_1.CSSNavigation(options && options.fileSystemProvider, true), new cssCodeActions_1.CSSCodeActions(cssDataManager), new cssValidation_1.CSSValidation(cssDataManager), cssDataManager);
|
|
100
102
|
}
|
|
101
103
|
exports.getLESSLanguageService = getLESSLanguageService;
|
|
@@ -13,10 +13,11 @@
|
|
|
13
13
|
*--------------------------------------------------------------------------------------------*/
|
|
14
14
|
'use strict';
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.FileType = exports.ClientCapabilities = exports.DocumentHighlightKind = exports.VersionedTextDocumentIdentifier = exports.TextDocumentEdit = exports.CodeActionKind = exports.TextEdit = exports.WorkspaceEdit = exports.DocumentLink = exports.DocumentHighlight = exports.CodeAction = exports.Command = exports.CodeActionContext = exports.MarkedString = exports.Hover = exports.Location = exports.DocumentSymbol = exports.SymbolKind = exports.SymbolInformation = exports.InsertTextFormat = exports.CompletionItemTag = exports.CompletionList = exports.CompletionItemKind = exports.CompletionItem = exports.DiagnosticSeverity = exports.Diagnostic = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.MarkupKind = exports.MarkupContent = exports.Position = exports.Range = exports.TextDocument = void 0;
|
|
17
|
-
|
|
16
|
+
exports.FileType = exports.ClientCapabilities = exports.DocumentHighlightKind = exports.VersionedTextDocumentIdentifier = exports.TextDocumentEdit = exports.CodeActionKind = exports.TextEdit = exports.WorkspaceEdit = exports.DocumentLink = exports.DocumentHighlight = exports.CodeAction = exports.Command = exports.CodeActionContext = exports.MarkedString = exports.Hover = exports.Location = exports.DocumentSymbol = exports.SymbolKind = exports.SymbolInformation = exports.InsertTextFormat = exports.CompletionItemTag = exports.CompletionList = exports.CompletionItemKind = exports.CompletionItem = exports.DiagnosticSeverity = exports.Diagnostic = exports.SelectionRange = exports.FoldingRangeKind = exports.FoldingRange = exports.ColorPresentation = exports.ColorInformation = exports.Color = exports.MarkupKind = exports.MarkupContent = exports.DocumentUri = exports.Position = exports.Range = exports.TextDocument = void 0;
|
|
17
|
+
const vscode_languageserver_types_1 = require("vscode-languageserver-types");
|
|
18
18
|
Object.defineProperty(exports, "Range", { enumerable: true, get: function () { return vscode_languageserver_types_1.Range; } });
|
|
19
19
|
Object.defineProperty(exports, "Position", { enumerable: true, get: function () { return vscode_languageserver_types_1.Position; } });
|
|
20
|
+
Object.defineProperty(exports, "DocumentUri", { enumerable: true, get: function () { return vscode_languageserver_types_1.DocumentUri; } });
|
|
20
21
|
Object.defineProperty(exports, "MarkupContent", { enumerable: true, get: function () { return vscode_languageserver_types_1.MarkupContent; } });
|
|
21
22
|
Object.defineProperty(exports, "MarkupKind", { enumerable: true, get: function () { return vscode_languageserver_types_1.MarkupKind; } });
|
|
22
23
|
Object.defineProperty(exports, "Color", { enumerable: true, get: function () { return vscode_languageserver_types_1.Color; } });
|
|
@@ -49,7 +50,7 @@
|
|
|
49
50
|
Object.defineProperty(exports, "TextDocumentEdit", { enumerable: true, get: function () { return vscode_languageserver_types_1.TextDocumentEdit; } });
|
|
50
51
|
Object.defineProperty(exports, "VersionedTextDocumentIdentifier", { enumerable: true, get: function () { return vscode_languageserver_types_1.VersionedTextDocumentIdentifier; } });
|
|
51
52
|
Object.defineProperty(exports, "DocumentHighlightKind", { enumerable: true, get: function () { return vscode_languageserver_types_1.DocumentHighlightKind; } });
|
|
52
|
-
|
|
53
|
+
const vscode_languageserver_textdocument_1 = require("vscode-languageserver-textdocument");
|
|
53
54
|
Object.defineProperty(exports, "TextDocument", { enumerable: true, get: function () { return vscode_languageserver_textdocument_1.TextDocument; } });
|
|
54
55
|
var ClientCapabilities;
|
|
55
56
|
(function (ClientCapabilities) {
|