vscode-json-languageservice
Advanced tools
Comparing version 3.6.0 to 3.7.0
@@ -0,1 +1,5 @@ | ||
3.7.0 / 2020-06-04 | ||
================== | ||
* New API `JSONSchema.suggestSortText` to set the sort order of completion proposals (VSCode specific JSON schema extension) | ||
3.6.0 / 2020-04-27 | ||
@@ -86,3 +90,3 @@ ================== | ||
================== | ||
* Add new API findColorSymbols that retunes all color values in a JSON document. To mark a value as a color, specify `"format": "color"` in the schema. | ||
* Add new API findColorSymbols that returns all color values in a JSON document. To mark a value as a color, specify `"format": "color"` in the schema. | ||
@@ -89,0 +93,0 @@ 2.0.4 / 2017-02-27 |
@@ -64,2 +64,3 @@ export declare type JSONSchemaRef = JSONSchema | boolean; | ||
doNotSuggest?: boolean; | ||
suggestSortText?: string; | ||
allowComments?: boolean; | ||
@@ -66,0 +67,0 @@ allowTrailingCommas?: boolean; |
@@ -213,2 +213,5 @@ /*--------------------------------------------------------------------------------------------- | ||
}; | ||
if (propertySchema.suggestSortText !== undefined) { | ||
proposal.sortText = propertySchema.suggestSortText; | ||
} | ||
if (proposal.insertText && endsWith(proposal.insertText, "$1" + separatorAfter)) { | ||
@@ -215,0 +218,0 @@ proposal.command = { |
@@ -64,2 +64,3 @@ export declare type JSONSchemaRef = JSONSchema | boolean; | ||
doNotSuggest?: boolean; | ||
suggestSortText?: string; | ||
allowComments?: boolean; | ||
@@ -66,0 +67,0 @@ allowTrailingCommas?: boolean; |
@@ -224,2 +224,5 @@ /*--------------------------------------------------------------------------------------------- | ||
}; | ||
if (propertySchema.suggestSortText !== undefined) { | ||
proposal.sortText = propertySchema.suggestSortText; | ||
} | ||
if (proposal.insertText && strings_1.endsWith(proposal.insertText, "$1" + separatorAfter)) { | ||
@@ -226,0 +229,0 @@ proposal.command = { |
{ | ||
"name": "vscode-json-languageservice", | ||
"version": "3.6.0", | ||
"version": "3.7.0", | ||
"description": "Language service for JSON", | ||
@@ -20,6 +20,6 @@ "main": "./lib/umd/jsonLanguageService.js", | ||
"@types/node": "^10.12.21", | ||
"@typescript-eslint/eslint-plugin": "^2.30.0", | ||
"@typescript-eslint/parser": "^2.30.0", | ||
"eslint": "^6.8.0", | ||
"mocha": "^7.1.2", | ||
"@typescript-eslint/eslint-plugin": "^3.1.0", | ||
"@typescript-eslint/parser": "^3.1.0", | ||
"eslint": "^7.1.0", | ||
"mocha": "^7.2.0", | ||
"nyc": "^15.0.1", | ||
@@ -34,3 +34,3 @@ "rimraf": "^3.0.2", | ||
"vscode-nls": "^4.1.2", | ||
"vscode-uri": "^2.1.1" | ||
"vscode-uri": "^2.1.2" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
1859637
9923
Updatedvscode-uri@^2.1.2