Commit Graph

109 Commits

Author SHA1 Message Date
Martin Aeschlimann
8a97cbb47d [json] Add setting to disable downloading JSON schemas. Fixes #96083 2020-05-06 18:58:59 +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
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
27aaa79d52 Don't use rootPath in built-in extension. For #90562 2020-02-18 14:24:11 +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
Martin Aeschlimann
1ce943831d [json] mention setting to change limit 2019-12-04 15:57:54 +01:00
Martin Aeschlimann
669d0ab44e [json] make result limit configurable. Fixes #84259 2019-12-04 15:41:02 +01:00
Martin Aeschlimann
5f1b81b497 [css/html/json] provide replace & insert proposals 2019-12-02 21:43:59 +01:00
Martin Aeschlimann
7887f81b80 [json] improved error message 2019-10-31 15:10:31 +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
078acb7872 JSON formatting often fails at first. Fixes #71652 2019-09-30 12:25:57 +02:00
Martin Aeschlimann
4a6f60ba0e dynamic schemas not updated. Fixes #79363 2019-08-21 16:52:47 +02:00
Peng Lyu
c4c427198d Fix #66284. 2019-08-02 17:52:05 -07:00
Martin Aeschlimann
bd57ca7066 Expand Selection not working as intended. Fixes #77194. Fixes #77087 2019-07-18 13:57:51 +02:00
Martin Aeschlimann
f104ade94b [json] confusing error message when schema can not be loaded 2019-07-08 20:03:05 +02:00
Benjamin Pasero
c6d9e8ea64 status - push proposed API for statusbar id/name and adopt 2019-06-14 11:52:39 +02:00
Sandeep Somavarapu
f329277979 - Define Machine Settings: Schema, Environment
- Scope machine settings
- Make remote settings scoped to machine settings
2019-04-10 18:25:13 +02:00
Johannes Rieken
4f8dbd4544 use a parent pointer instead of 2d array, #67872 2019-03-12 10:04:06 +01:00
Johannes Rieken
6892cfc90e for now remove SelectionRangeKind #67872 2019-03-11 09:43:34 +01:00
Martin Aeschlimann
849d9417ea [json] fetch http and https schemas on the ext host 2019-03-05 16:26:50 +01:00
Martin Aeschlimann
64797345c1 json: multiple selection ranges 2019-02-13 16:36:30 +01:00
Johannes Rieken
52d134aacb update proposed api to have multiple positions, #41838 2019-02-11 12:08:27 +01:00
Martin Aeschlimann
3af611c759 make jsonValidation dynamic (for #66574) 2019-01-28 23:56:43 +01:00
Martin Aeschlimann
1972f79077 client: semantic selection registration 2019-01-28 18:24:12 +01:00
Martin Aeschlimann
21585312c2 [json] enable semantic selection 2019-01-28 16:05:18 +01:00
Rob Lourens
ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
Pine Wu
649f448ef9 Fix #62146, Fix #62149 2018-11-02 12:15:34 -07:00
Martin Aeschlimann
26c3d8d890 Merge pull request #60219 from xxyy/pn/51032/json-status-bar
Less distracting error message for JSON schema resolution issues
2018-10-29 13:37:05 -07:00
Martin Aeschlimann
fa9d7fc761 only show alert 2018-10-29 21:35:06 +01:00
Johannes Rieken
b343fcf6ab declare proposed api usage only where actually being used 2018-10-24 12:27:59 +02: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
cb8d482429 Cache JSON schema error files 2018-10-11 16:41:39 +02:00
Literallie
fe4ce0b9d4 Add retry action to JSON status bar icon 2018-10-11 00:27:58 +02:00
Literallie
27ce1616ca Show JSON schema resolution issues in status bar, not notifications
Note that this uses the status bar item only for that. After switching files,
the item is not shown until problems
are re-evaluated.
2018-10-10 16:15:06 +02:00
Literallie
01754ba288 Revert "Use ErrorCode in JSON Language Service schema resolution error handling"
This reverts commit 0137ebd471.
2018-10-10 11:03:12 +02:00
Literallie
ab43e947f7 Only remove actual schema resolution errors from JSON errors 2018-10-09 02:12:01 +02:00
Literallie
0137ebd471 Use ErrorCode in JSON Language Service schema resolution error handling
This adds a dependency on vscode-json-languageservice to the client,
which might not be desired, but allows for cleaner code and the correct
reference should the error codes change.
2018-10-09 01:52:28 +02:00
Literallie
157ee8c394 Show JSON schema resolution errors in status bar only
This commit adds a middleware to the JSON Language Feature client
which intercepts diagnostics for schema resolution errors, and shows
them in the status bar instead of treating them as code errors.

Fixes #51032
2018-10-09 01:52:17 +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
e12fbaa5cd Update html, css, andjson clients to use shared tsconfig 2018-10-02 10:24:19 -07:00
Martin Aeschlimann
429b7e2848 Fix TS 3.1 error in "extensions/json-language-features/client/src/utils/hash.ts". Fixes #59761 2018-10-02 11:08:05 +02:00
Matt Bierner
d37076a596 Build VS Code using TypeScript 3.1.1
Fixes #59757
2018-10-01 10:55:16 -07:00
Martin Aeschlimann
667451bc61 [json] remove console logs 2018-09-20 09:50:37 +02:00
Martin Aeschlimann
2dd4d2b56f update css/html/json dependencies and webpack cleanup (fixes #57431, fixes #58417) 2018-09-19 16:52:47 +02:00