Commit graph

37 commits

Author SHA1 Message Date
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
Martin Aeschlimann df77466bfa webpack json-language-features
json
2018-08-27 09:46:52 +02:00
Martin Aeschlimann 4f0c90fa36 [json] update to latest lsp (folding range support) 2018-07-25 09:56:05 +02:00
Martin Aeschlimann f984189246 [json] fix for schema assocations in workspace settings 2018-06-25 23:06:40 +02:00
Martin Aeschlimann f2d37611f1 Replace FoldingRangeKind type with normal enum. Fixes #48956 2018-04-30 18:13:41 +02:00
Martin Aeschlimann a1bb202eb6 incorperate folding api feedback 2018-04-18 15:26:43 +02:00
Martin Aeschlimann 4fca46dcc8 [json] adopt new folding APIs 2018-04-17 18:55:26 +02:00
Martin Aeschlimann 784de51e08 use vscode-languageserver-protocol-foldingprovider 2018-03-24 21:41:07 +01:00
Martin Aeschlimann 6b8e4c6e9c [folding] remove experimental flag for json/html 2018-03-20 15:29:48 +01:00
Martin Aeschlimann 5b23587f08 [json] split json extension (for #45900) 2018-03-17 15:47:58 +01:00