Commit graph

373 commits

Author SHA1 Message Date
Peng Lyu c4c427198d Fix #66284. 2019-08-02 17:52:05 -07:00
Pine Wu c8603ae198 Add compound debug for json 2019-08-01 14:14:21 -07:00
Martin Aeschlimann dd09dae342 [json] update service 2019-07-30 09:20:36 +02:00
Martin Aeschlimann 980ad1ce09 [josn] use latest ClientCapabilities 2019-07-29 09:29:33 +02:00
Daniel Imms 33dd835855 Update yarn.lock
This change happens on a clear run of yarn
2019-07-25 16:35:55 -07:00
Martin Aeschlimann 3b5ee24ca3 [json] update vscode-uri 2019-07-25 18:33:18 +02:00
Martin Aeschlimann 81380bb822 register selectionRangeProviders 2019-07-25 18:33:18 +02:00
Martin Aeschlimann 877704976a JSON Language Server 1.2.1 2019-07-22 10:07:53 +02:00
Martin Aeschlimann d782b76a8e [json] fix compile script 2019-07-22 10:07:18 +02:00
Martin Aeschlimann caad996fba JSON Language Server 1.2.0 2019-07-19 10:35:21 +02:00
Martin Aeschlimann 13d8325aaa [json] update server readme 2019-07-19 10:35:21 +02: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
Martin Aeschlimann 4ed70122f8 remove imports 2019-07-08 12:44:50 +02:00
Martin Aeschlimann aa38607483 incremental text documents cause perf isssues 2019-07-08 12:44:40 +02:00
Benjamin Pasero c6d9e8ea64 status - push proposed API for statusbar id/name and adopt 2019-06-14 11:52:39 +02:00
Martin Aeschlimann a84c30184c [css/json/html] update lsp, services & dependencies 2019-06-13 10:27:45 +02:00
Aurélien Pupier 7a5bca9faf Add License field to package.jsons #68423 (#68771)
it should avoid to have "warning XXX: No license field" during yarn
build

Signed-off-by: Aurélien Pupier <apupier@redhat.com>
2019-06-06 11:44:50 +02:00
Benjamin Pasero d78a75973c
update @types/node (#74881) 2019-06-05 10:20:01 +02:00
Chris Dias c24694c892
clean up the readme (#74293)
* Tidy up the readme, update graphic
2019-05-24 10:04:01 -07:00
Martin Aeschlimann 8099c01477
Merge pull request #73273 from SamB/json-features-CONTRIBUTING-fixes
json-language-features/CONTRIBUTING.md fixes
2019-05-07 11:30:56 +02:00
Martin Aeschlimann 8c6f32ca00 update json service 2019-05-06 17:50:28 +02:00
Samuel Bronson 1661bf4fa3 json-language-features/CONTRIBUTING.md fixes
In particular, mention npm and yarn as appropriate.
Some of the mentions had apparently been inadvertantly switched???
2019-05-04 00:43:46 -04: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
Martin Aeschlimann 00c352d6e7 jsonMain message bundle load failure. Fixes #71144 2019-03-27 14:14:36 +01:00
Martin Aeschlimann ff611c5374 typo 2019-03-27 11:32:02 +01: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 ce3f0c17d7 [json] update service (webpack) 2019-03-05 15:27:51 +01:00
Martin Aeschlimann cdee006e2a [json] update service 2019-02-27 09:56:13 +01:00
Martin Aeschlimann 6f23ce8ed3 [json] update service 2019-02-22 23:30:45 +01:00
Martin Aeschlimann 6286055c48 Extensions: jsonValidation json schema urls should support self-registered schemes. Fixes #67189 2019-02-22 17:32:09 +01:00
Martin Aeschlimann 56a6746adc [json] improve CONTRIBUTING.md 2019-02-15 10:17:40 +01:00
Martin Aeschlimann 66267819cb [json] add contributing,md 2019-02-14 20:59:06 +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
Benjamin Pasero e2d1fd06d1 debt - update extensions node dependency to 10.x 2019-02-07 08:49:36 +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
SteVen Batten ccdd2997a6
update AI module (#66370)
fixes #64849
2019-01-10 17:43:25 -08:00
Matt Bierner 5cc00861fc Enable no-var-keyword tslint rule 2019-01-03 18:02:48 -08:00
Rob Lourens ef2547d547 replace void 0 with undefined 2019-01-03 11:20:19 -08:00
ImgBotApp d412f89baf
[ImgBot] Optimize images
*Total -- 201.93kb -> 142.81kb (29.28%)

/extensions/npm/images/npm_icon.png -- 3.21kb -> 0.51kb (84.1%)
/src/vs/workbench/parts/debug/electron-browser/media/stepout-tb.png -- 2.89kb -> 0.47kb (83.83%)
/src/vs/workbench/parts/debug/electron-browser/media/stop-tb.png -- 1.50kb -> 0.35kb (76.43%)
/src/vs/workbench/parts/debug/electron-browser/media/pause-tb.png -- 1.55kb -> 0.37kb (76.34%)
/src/vs/workbench/browser/parts/editor/media/forward-tb.png -- 1.57kb -> 0.37kb (76.25%)
/src/vs/workbench/browser/parts/editor/media/back-tb.png -- 1.52kb -> 0.37kb (75.53%)
/src/vs/workbench/parts/debug/electron-browser/media/continue-tb.png -- 1.60kb -> 0.42kb (73.48%)
/src/vs/workbench/parts/debug/electron-browser/media/stepinto-tb.png -- 1.66kb -> 0.47kb (71.51%)
/src/vs/workbench/parts/debug/electron-browser/media/restart-tb.png -- 1.91kb -> 0.59kb (68.84%)
/src/vs/workbench/parts/debug/electron-browser/media/stepover-tb.png -- 1.93kb -> 0.62kb (67.75%)
/resources/linux/code.png -- 5.76kb -> 2.66kb (53.86%)
/extensions/html-language-features/icons/html.png -- 4.40kb -> 2.28kb (48.15%)
/extensions/theme-seti/icons/seti-circular-128x128.png -- 8.73kb -> 4.70kb (46.12%)
/extensions/typescript-language-features/icon.png -- 1.60kb -> 0.97kb (39.15%)
/src/vs/platform/extensionManagement/node/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/src/vs/workbench/parts/extensions/electron-browser/media/defaultIcon.png -- 1.65kb -> 1.03kb (37.49%)
/extensions/vscode-api-tests/testWorkspace/sub/image.png -- 35.87kb -> 24.99kb (30.33%)
/extensions/vscode-api-tests/testWorkspace/image.png -- 35.87kb -> 24.99kb (30.33%)
/resources/win32/code_150x150.png -- 0.55kb -> 0.39kb (29.96%)
/extensions/css-language-features/icons/css.png -- 5.07kb -> 3.63kb (28.37%)
/extensions/json-language-features/icons/json.png -- 5.84kb -> 4.33kb (25.89%)
/extensions/markdown-language-features/icon.png -- 1.19kb -> 0.88kb (25.86%)
/src/vs/workbench/parts/extensions/electron-browser/media/theme-icon.png -- 9.90kb -> 7.42kb (25.1%)
/extensions/php-language-features/icons/logo.png -- 10.85kb -> 8.99kb (17.13%)
/extensions/gulp/images/gulp.png -- 7.36kb -> 6.20kb (15.8%)
/extensions/merge-conflict/resources/icons/merge-conflict.png -- 2.47kb -> 2.10kb (14.96%)
/extensions/jake/images/cowboy_hat.png -- 43.85kb -> 41.67kb (4.98%)
2018-11-06 20:46:03 +00: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
Martin Aeschlimann 971e4ce8b2 [json] update service 2018-10-29 17:12:30 +01:00
Nguyen Long Nhat 02a65af113
Task 2.0.0 2018-10-26 22:12:33 +07:00
Johannes Rieken b343fcf6ab declare proposed api usage only where actually being used 2018-10-24 12:27:59 +02:00
Ramya Achutha Rao a975e59eaf Update applicationInsights for #60585 2018-10-16 16:29:08 -07: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 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
Martin Aeschlimann c52fe7087c color provider server capability doesn't define boolean (yet). For Microsoft/vscode-languageserver-node#349 2018-05-15 12:05:59 +02:00
Martin Aeschlimann f2d37611f1 Replace FoldingRangeKind type with normal enum. Fixes #48956 2018-04-30 18:13:41 +02:00
Ramya Achutha Rao 1139de12c0 Create appInsights client only if user has opt-in to telemetry 2018-04-25 15:21:15 -07:00
Ramya Achutha Rao 0c47c04e85 Add missing yarn updates 2018-04-21 20:44:21 -07:00
Ramya Achutha Rao 953cdf7f3d Update vscode-extension-telemetry version 2018-04-20 10:30:05 -07: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 6c223050d7 [json] update service (folding api for #47808) 2018-04-16 15:19:47 +02:00
Martin Aeschlimann 6657623b98 css/html/json typos (for #47894) 2018-04-16 14:11:26 +02:00
Martin Aeschlimann f57c35c0f2 Languages -> Programming Languages (for #47103) 2018-04-03 14:30:02 +02:00
Martin Aeschlimann b54c007395 [json] update service 2018-03-27 09:31:07 +02:00
Martin Aeschlimann 784de51e08 use vscode-languageserver-protocol-foldingprovider 2018-03-24 21:41:07 +01:00
Martin Aeschlimann 69c19c58ee JSON Language Server 1.0.1 2018-03-21 16:27:27 +01:00
Martin Aeschlimann ea99535c49 [json] readme fixes 2018-03-21 16:27:27 +01:00
Martin Aeschlimann da671dd130 JSON Language Server 1.0.0 2018-03-21 14:24:11 +01:00
Martin Aeschlimann 11a6848be9 [json] publish json language server in npm 2018-03-21 14:24:10 +01:00
Martin Aeschlimann 4c81ed502a include json/css in integration tests 2018-03-20 15:29:49 +01:00
Martin Aeschlimann 53332ed17f fix npm scripts after extension rename 2018-03-20 15:29:48 +01:00
Martin Aeschlimann 6b8e4c6e9c [folding] remove experimental flag for json/html 2018-03-20 15:29:48 +01:00
Martin Aeschlimann 3d5c51bc30 postinstall: remove hardcoded extension list 2018-03-18 17:29:53 +01:00
Martin Aeschlimann 5b23587f08 [json] split json extension (for #45900) 2018-03-17 15:47:58 +01:00