Commit Graph

121 Commits

Author SHA1 Message Date
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
7814f38222 Add SchemaRetry notification to jsonServerMain 2018-10-11 00:16:52 +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
c050c96b97 Update json server to use shared tsconfig 2018-10-02 10:24:20 -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
Joao Moreno
707787c5b8 update yarn.lock files to use integrity 2018-09-30 16:34:43 +02:00
Martin Aeschlimann
a75f4bcf4e [json] update service (fixes #59470) 2018-09-27 16:33:19 +02:00
Ramya Achutha Rao
972ee3f948 Use latest applicationinsights in extensions too 2018-09-25 16:45:00 -07:00
Martin Aeschlimann
1b38a64602 [json] update service (fixes #58956) 2018-09-20 12:37:25 +02:00
Johannes Rieken
5037516238 updated lock files 2018-09-20 12:06:55 +02:00
Johannes Rieken
6999ddbab7 update vscode-extension-telemetry 2018-09-20 12:06:55 +02: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
Ramya Achutha Rao
d0a67178ca Update appinsights in built in extensions 2018-09-18 18:35:12 -07:00
Johannes Rieken
f1962fe5ad webpack - use mainFields: ['module', 'main'] for everyone 2018-09-13 11:48:06 +02:00
Johannes Rieken
5b223a4529 debt - nicer regex for fwd and bwd slashes 2018-09-13 11:37:39 +02:00
Johannes Rieken
3830d7b238 webpack - inline vscode-nls for our extensions 2018-09-06 15:12:28 +02:00
Johannes Rieken
c2c5819fc8 adopt vscode-nls 4.0.0 2018-09-06 14:44:33 +02:00
Johannes Rieken
f82bcb20ed webpack - move __dirname-config up into shared config 2018-09-03 12:38:46 +02:00
Johannes Rieken
051da84e0f webpack - fix regular expressions 2018-08-30 09:05:14 +02:00
Martin Aeschlimann
a72ca7cc79 [css/html/json] adopt webpack ignore pattern to windows paths 2018-08-29 21:50:17 +02:00
Johannes Rieken
bf47779814 update json-webpack rules 2018-08-29 19:06:27 +02:00
Martin Aeschlimann
1cdea4a654 fix css/html/json language clients 2018-08-28 11:27:09 +02:00
Martin Aeschlimann
ee3d28f28a [json] update dependencies, support schema-draft7 2018-08-27 17:21:20 +02:00
Martin Aeschlimann
275ddfa0ad [json] revert dist folder for server 2018-08-27 16:05:29 +02:00
Martin Aeschlimann
df77466bfa webpack json-language-features
json
2018-08-27 09:46:52 +02:00
Martin Aeschlimann
749a7f314f [html/css/json] improve vscodeignore 2018-08-22 11:13:10 +02:00
Martin Aeschlimann
8229aed327 [json] update service. Fixes #53605 2018-08-14 19:43:31 +02:00
Benjamin Pasero
920defc6a6 debt - update extensions node dependency to 8.x 2018-08-14 10:44:56 +02:00
Ramya Achutha Rao
1912c5d755 Allow extensions to log telemetry to log files #54001 2018-07-30 16:18:54 -07:00
Martin Aeschlimann
2eb31c7170 fix javadoc formatter setting description 2018-07-30 17:03:13 +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
Greg Van Liew
c150d0d42d Edit pass on new built-in extension comments (#54277) 2018-07-13 15:28:27 -07:00
Ramya Achutha Rao
a32654c5f1 Link to docs in the website from builtin extension readme #54098 2018-07-12 18:16:01 -07:00
Ramya Achutha Rao
f89c16c04c Standardize readme across built-in extensions #54098 2018-07-11 16:38:32 -07:00
Dirk Baeumer
21991b4912 Move to latest vscode-nls for corrupted cache support 2018-07-03 16:12:52 +02:00
Martin Aeschlimann
f055155108 update service 2018-06-25 23:32:50 +02:00
Martin Aeschlimann
f984189246 [json] fix for schema assocations in workspace settings 2018-06-25 23:06:40 +02:00
Martin Aeschlimann
d29d5155b4 [json] update dependencies 2018-05-23 16:49:18 +02:00