Commit Graph

70 Commits

Author SHA1 Message Date
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