Commit Graph

340 Commits

Author SHA1 Message Date
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
9b6d13d298 update services 2020-08-31 22:18:06 +02:00
Johannes Rieken
5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken
bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Martin Aeschlimann
d5327bca82 update css/json services 2020-08-02 21:53:34 +02:00
Martin Aeschlimann
e68707852f fix json readme typos 2020-06-30 21:08:04 +02:00
Martin Aeschlimann
aa98d29af9 typo in JSON fileMatch hover text. FIxes #101408 2020-06-30 20:40:00 +02:00
Martin Aeschlimann
ebbb51635e update language client versions 2020-06-26 14:12:11 +02:00
Martin Aeschlimann
16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Martin Aeschlimann
c23285f8c8 [json] server path fix (for json-server npm) 2020-06-19 21:58:54 +02:00
Martin Aeschlimann
9007dfc971 json webpack fixes 2020-06-11 22:28:05 +02:00
Martin Aeschlimann
917064c80c move polyfills to build/polyfills 2020-06-11 21:54:43 +02:00
Martin Aeschlimann
4c030c46d4 [json] run serverless 2020-06-11 18:32:24 +02:00
Martin Aeschlimann
6af2987903 html/json: compute server module without server package.json 2020-06-11 14:59:56 +02:00
João Moreno
dfacda2138 missing yarn.lock 2020-06-05 11:09:40 +02:00
Martin Aeschlimann
22aaa30490 [json] offline mode, don't show resolve errors. Fixes #96083 2020-06-04 16:34:52 +02:00
Martin Aeschlimann
5329ea8fd3 [json] update service. Fixes #96351 2020-06-04 14:31:02 +02:00
Jagua
0a7841c45a Fix indentation and typo of json-language server readme 2020-05-14 22:11:26 +09:00
Martin Aeschlimann
e045073284 json.schemaDownload.enable prevents vscode schemas from beeing fetched. #96083 2020-05-14 11:23:50 +02:00
Martin Aeschlimann
8a97cbb47d [json] Add setting to disable downloading JSON schemas. Fixes #96083 2020-05-06 18:58:59 +02:00
Martin Aeschlimann
4a3bd05497 [json] Go to definition for $ref. Fixes #69411 2020-04-27 22:30:58 +02:00
Martin Aeschlimann
8d23203c65 fix compile error 2020-04-14 17:59:41 +02:00
Martin Aeschlimann
951164ae96 product icons definition files: show icon in hover 2020-04-14 17:46:12 +02:00
Martin Aeschlimann
5b5b17b67f [json] update service (fixes #91854) 2020-04-03 10:49:42 +02:00
Martin Aeschlimann
11c130357b [json] Problems loading reference with schema service. Fixes #92353 2020-03-12 23:14:11 +01:00
Martin Aeschlimann
0da9f3f250 [json] Trying to set local JSON Schema file, generates empty files while typing the filename. Fixes #92300 2020-03-11 15:28:14 +01:00
Martin Aeschlimann
785eb0872a jsonValidation takes an array for fileMatch 2020-03-06 16:31:48 +01:00
Martin Aeschlimann
1a55cd072a improve fileMatch descriptions for exclusion patterns 2020-03-04 09:56:33 +01:00
Martin Aeschlimann
40cd953770 Turn off JSON item resolving. Fixes #91747 2020-02-28 11:47:10 +01:00
Martin Aeschlimann
d3d3e8c311 [json] update dependencies 2020-02-21 10:49:58 +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
27aaa79d52 Don't use rootPath in built-in extension. For #90562 2020-02-18 14:24:11 +01:00
Martin Aeschlimann
57ab6fb91d JSON Language Server 1.2.3 2020-02-17 17:59:16 +01:00
Martin Aeschlimann
e95476a2c1 JSON validation debounced too much. Fixes #89524 2020-02-04 21:59:30 +01:00
Martin Aeschlimann
abab0c8548 [json] move jsonValidation declaration for #88835 2020-01-23 11:35:51 +01:00
Martin Aeschlimann
9283ee35c9 [json] fix typo 2020-01-22 15:53:33 +01:00
Martin Aeschlimann
ce31ace9d9 [json] avoid too many deltas (#79014) & update dependencies 2020-01-22 15:51:39 +01:00
Johannes Rieken
430de16fef fix compilos and adopt proposed api usage, #10266 2020-01-16 17:52:18 +01:00
Johannes Rieken
ccd38490b2 use const instead of var 2019-12-30 10:52:27 +01:00
Martin Aeschlimann
1ce943831d [json] mention setting to change limit 2019-12-04 15:57:54 +01:00
Martin Aeschlimann
235ceb4d38 [json] update service 2019-12-04 15:41:02 +01:00
Martin Aeschlimann
669d0ab44e [json] make result limit configurable. Fixes #84259 2019-12-04 15:41:02 +01:00
Martin Aeschlimann
929080f70c JSONC: Completion inserts one extra double quote. Fixes #86078 2019-12-03 16:03:53 +01:00
Martin Aeschlimann
c2c96f3f46 [json] update service 2019-12-02 21:54:16 +01:00
Martin Aeschlimann
5f1b81b497 [css/html/json] provide replace & insert proposals 2019-12-02 21:43:59 +01:00
Martin Aeschlimann
fd6d7489a8 [json] adopt TextDocuments and use incremental sync 2019-11-05 22:19:43 +01:00
Martin Aeschlimann
90e887f8b5 [json] update yarn lock 2019-11-01 15:42:47 +01:00
Martin Aeschlimann
7887f81b80 [json] improved error message 2019-10-31 15:10:31 +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