Martin Aeschlimann
a22b5d54ad
[json/css/html] adopt lsp 316
2020-12-14 18:18:58 +01:00
Martin Aeschlimann
1c2005331c
[json] use links for $ref, not goto definition ( fixes #101474 )
2020-11-03 22:30:39 +01:00
Cameron Little
7cf15b2d31
Fix crash in LSP servers when initializationOptions are not provided
2020-09-30 09:01:49 +02:00
Rafał Chłodnicki
896dc31762
[json-language-features] Fix json/schemaAssociations parameters documentation
...
The `json/schemaAssociations` documentation is not accurate in stating
that the only supported parameter is an object in `{ pattern: uri }`
format. It also supports the structure defined by `SchemaConfiguration`
interface from "vscode-json-languageservice".
Also updated the server code to match that.
Resolves #106060
2020-09-03 19:57:02 +02:00
Martin Aeschlimann
4c030c46d4
[json] run serverless
2020-06-11 18:32:24 +02:00
Martin Aeschlimann
4a3bd05497
[json] Go to definition for $ref. Fixes #69411
2020-04-27 22:30:58 +02:00
Martin Aeschlimann
785eb0872a
jsonValidation takes an array for fileMatch
2020-03-06 16:31:48 +01:00
Martin Aeschlimann
40cd953770
Turn off JSON item resolving. Fixes #91747
2020-02-28 11:47:10 +01:00
Martin Aeschlimann
cfc07ec7aa
[json] "Format document" on a large JSON file adds extra bracket Fixes #91125
2020-02-21 09:36:54 +01:00
Martin Aeschlimann
e95476a2c1
JSON validation debounced too much. Fixes #89524
2020-02-04 21:59:30 +01:00
Martin Aeschlimann
ce31ace9d9
[json] avoid too many deltas ( #79014 ) & update dependencies
2020-01-22 15:51:39 +01:00
Martin Aeschlimann
1ce943831d
[json] mention setting to change limit
2019-12-04 15:57:54 +01:00
Martin Aeschlimann
fd6d7489a8
[json] adopt TextDocuments and use incremental sync
2019-11-05 22:19:43 +01:00
Martin Aeschlimann
3a5209ec64
[json] file schema loaded on client instead of server. Fixes #83515
2019-10-31 12:43:33 +01:00
Martin Aeschlimann
4bdb7355f7
[json] fix azure telemetry
2019-10-31 12:43:33 +01:00
Martin Aeschlimann
223076ac54
[json] support result limits
2019-10-28 20:23:16 +01:00
Martin Aeschlimann
ddcdb9dd66
json: provideFormatter fix
2019-10-02 12:14:01 +02:00
Martin Aeschlimann
78a6b2d72f
#81592 again
2019-09-30 14:51:26 +02:00
Martin Aeschlimann
078acb7872
JSON formatting often fails at first. Fixes #71652
2019-09-30 12:25:57 +02:00
Martin Aeschlimann
3259fbf267
[json] Use textDocument.rangeFormatting.dynamicRegistration instead of workspace.symbol.dynamicRegistration? #81592
2019-09-30 09:23:23 +02:00
Martin Aeschlimann
a7def72d9e
trailing commas only for setting files
2019-08-29 13:19:03 +02:00
Martin Aeschlimann
980ad1ce09
[josn] use latest ClientCapabilities
2019-07-29 09:29:33 +02:00
Martin Aeschlimann
81380bb822
register selectionRangeProviders
2019-07-25 18:33:18 +02:00
Martin Aeschlimann
bd57ca7066
Expand Selection not working as intended. Fixes #77194 . Fixes #77087
2019-07-18 13:57:51 +02:00
Martin Aeschlimann
4ed70122f8
remove imports
2019-07-08 12:44:50 +02:00
Martin Aeschlimann
aa38607483
incremental text documents cause perf isssues
2019-07-08 12:44:40 +02:00
Martin Aeschlimann
a84c30184c
[css/json/html] update lsp, services & dependencies
2019-06-13 10:27:45 +02:00
Martin Aeschlimann
6286055c48
Extensions: jsonValidation json schema urls should support self-registered schemes. Fixes #67189
2019-02-22 17:32:09 +01:00
Martin Aeschlimann
64797345c1
json: multiple selection ranges
2019-02-13 16:36:30 +01:00
Martin Aeschlimann
21585312c2
[json] enable semantic selection
2019-01-28 16:05:18 +01:00
Matt Bierner
5cc00861fc
Enable no-var-keyword tslint rule
2019-01-03 18:02:48 -08:00
Rob Lourens
ef2547d547
replace void 0 with undefined
2019-01-03 11:20:19 -08:00
Literallie
54f4967761
Refactor SchemaRetryNotification to ForceValidateRequest
...
Now returns the new diagnostics.
Also, actually refresh the schemas instead of just revalidating the
documents. It worked only sometimes before.
2018-10-11 22:06:48 +02:00
Literallie
7814f38222
Add SchemaRetry notification to jsonServerMain
2018-10-11 00:16:52 +02:00
Matt Bierner
92a9a07213
Remove duplicate blank lines at the start of some extension src files
2018-10-02 16:28:19 -07:00
Matt Bierner
ff957050db
Remove use strict in extensions (part 2)
...
We compile using alwaysStrict so this directive is not needed
2018-10-02 16:23:27 -07:00
Matt Bierner
c050c96b97
Update json server to use shared tsconfig
2018-10-02 10:24:20 -07:00
Martin Aeschlimann
a75f4bcf4e
[json] update service ( fixes #59470 )
2018-09-27 16:33:19 +02:00
Martin Aeschlimann
1b38a64602
[json] update service ( fixes #58956 )
2018-09-20 12:37:25 +02:00
Martin Aeschlimann
8229aed327
[json] update service. Fixes #53605
2018-08-14 19:43:31 +02:00
Martin Aeschlimann
7fd6f1b1d4
[json] use onFoldingRanges
2018-07-25 12:22:04 +02:00
Martin Aeschlimann
4f0c90fa36
[json] update to latest lsp (folding range support)
2018-07-25 09:56:05 +02:00
Martin Aeschlimann
d29d5155b4
[json] update dependencies
2018-05-23 16:49:18 +02:00
Martin Aeschlimann
c52fe7087c
color provider server capability doesn't define boolean (yet). For Microsoft/vscode-languageserver-node#349
2018-05-15 12:05:59 +02:00
Martin Aeschlimann
4fca46dcc8
[json] adopt new folding APIs
2018-04-17 18:55:26 +02:00
Martin Aeschlimann
6c223050d7
[json] update service (folding api for #47808 )
2018-04-16 15:19:47 +02:00
Martin Aeschlimann
6657623b98
css/html/json typos (for #47894 )
2018-04-16 14:11:26 +02:00
Martin Aeschlimann
784de51e08
use vscode-languageserver-protocol-foldingprovider
2018-03-24 21:41:07 +01:00
Martin Aeschlimann
11a6848be9
[json] publish json language server in npm
2018-03-21 14:24:10 +01:00
Martin Aeschlimann
4c81ed502a
include json/css in integration tests
2018-03-20 15:29:49 +01:00