Commit graph

294 commits

Author SHA1 Message Date
ChaseKnowlden 8c91bd8278 Fix Unnecessary change 2020-09-17 11:43:03 +02:00
ChaseKnowlden e8760a5d6c Fix capitalization of GitHub org 2020-09-17 11:43:03 +02:00
Martin Aeschlimann 795b0dba8d [css/json/html] update service (use vscode-nls@5.0) 2020-09-16 10:32:40 +02:00
Martin Aeschlimann f0dea5ec85 improvements 2020-09-07 10:09:15 +02:00
Rafał Chłodnicki 896dc31762 [json-language-features] Fix json/schemaAssociations parameters documentation
The `json/schemaAssociations` documentation is not accurate in stating
that the only supported parameter is an object in `{ pattern: uri }`
format. It also supports the structure defined by `SchemaConfiguration`
interface from "vscode-json-languageservice".

Also updated the server code to match that.

Resolves #106060
2020-09-03 19:57:02 +02:00
Martin Aeschlimann 9b6d13d298 update services 2020-08-31 22:18:06 +02:00
Johannes Rieken 5b8aeeb1f0 copy paste is hard... 2020-08-28 15:00:52 +02:00
Johannes Rieken bc3b0defe0 use extensionUri and joinPath instead of asAbsolutePath 2020-08-28 14:57:20 +02:00
Martin Aeschlimann d5327bca82 update css/json services 2020-08-02 21:53:34 +02:00
Martin Aeschlimann e68707852f fix json readme typos 2020-06-30 21:08:04 +02:00
Martin Aeschlimann aa98d29af9 typo in JSON fileMatch hover text. FIxes #101408 2020-06-30 20:40:00 +02:00
Martin Aeschlimann ebbb51635e update language client versions 2020-06-26 14:12:11 +02:00
Martin Aeschlimann 16be2c9885 used shared webpack-config for browser 2020-06-25 23:22:02 +02:00
Martin Aeschlimann c23285f8c8 [json] server path fix (for json-server npm) 2020-06-19 21:58:54 +02:00
Martin Aeschlimann 9007dfc971 json webpack fixes 2020-06-11 22:28:05 +02:00
Martin Aeschlimann 917064c80c move polyfills to build/polyfills 2020-06-11 21:54:43 +02:00
Martin Aeschlimann 4c030c46d4 [json] run serverless 2020-06-11 18:32:24 +02:00
Martin Aeschlimann 6af2987903 html/json: compute server module without server package.json 2020-06-11 14:59:56 +02:00
João Moreno dfacda2138
missing yarn.lock 2020-06-05 11:09:40 +02:00
Martin Aeschlimann 22aaa30490 [json] offline mode, don't show resolve errors. Fixes #96083 2020-06-04 16:34:52 +02:00
Martin Aeschlimann 5329ea8fd3 [json] update service. Fixes #96351 2020-06-04 14:31:02 +02:00
Jagua 0a7841c45a Fix indentation and typo of json-language server readme 2020-05-14 22:11:26 +09:00
Martin Aeschlimann e045073284 json.schemaDownload.enable prevents vscode schemas from beeing fetched. #96083 2020-05-14 11:23:50 +02:00
Martin Aeschlimann 8a97cbb47d [json] Add setting to disable downloading JSON schemas. Fixes #96083 2020-05-06 18:58:59 +02:00
Martin Aeschlimann 4a3bd05497 [json] Go to definition for $ref. Fixes #69411 2020-04-27 22:30:58 +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 5b5b17b67f [json] update service (fixes #91854) 2020-04-03 10:49:42 +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 1a55cd072a improve fileMatch descriptions for exclusion patterns 2020-03-04 09:56:33 +01:00
Martin Aeschlimann 40cd953770 Turn off JSON item resolving. Fixes #91747 2020-02-28 11:47:10 +01:00
Martin Aeschlimann d3d3e8c311 [json] update dependencies 2020-02-21 10:49:58 +01:00
Martin Aeschlimann cfc07ec7aa [json] "Format document" on a large JSON file adds extra bracket Fixes #91125 2020-02-21 09:36:54 +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 57ab6fb91d JSON Language Server 1.2.3 2020-02-17 17:59:16 +01:00
Martin Aeschlimann e95476a2c1 JSON validation debounced too much. Fixes #89524 2020-02-04 21:59:30 +01:00
Martin Aeschlimann abab0c8548 [json] move jsonValidation declaration for #88835 2020-01-23 11:35:51 +01:00
Martin Aeschlimann 9283ee35c9 [json] fix typo 2020-01-22 15:53:33 +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
Johannes Rieken ccd38490b2 use const instead of var 2019-12-30 10:52:27 +01:00
Martin Aeschlimann 1ce943831d [json] mention setting to change limit 2019-12-04 15:57:54 +01:00
Martin Aeschlimann 235ceb4d38 [json] update service 2019-12-04 15:41:02 +01:00
Martin Aeschlimann 669d0ab44e [json] make result limit configurable. Fixes #84259 2019-12-04 15:41:02 +01:00
Martin Aeschlimann 929080f70c JSONC: Completion inserts one extra double quote. Fixes #86078 2019-12-03 16:03:53 +01:00
Martin Aeschlimann c2c96f3f46 [json] update service 2019-12-02 21:54:16 +01:00
Martin Aeschlimann 5f1b81b497 [css/html/json] provide replace & insert proposals 2019-12-02 21:43:59 +01:00
Martin Aeschlimann fd6d7489a8 [json] adopt TextDocuments and use incremental sync 2019-11-05 22:19:43 +01:00
Martin Aeschlimann 90e887f8b5 [json] update yarn lock 2019-11-01 15:42:47 +01:00
Martin Aeschlimann 7887f81b80 [json] improved error message 2019-10-31 15:10:31 +01:00
Martin Aeschlimann 3a5209ec64 [json] file schema loaded on client instead of server. Fixes #83515 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 4bdb7355f7 [json] fix azure telemetry 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 9a9c0e351b update request-light 2019-10-31 12:43:33 +01:00
Martin Aeschlimann 7b944a16f5 update request-light 2019-10-30 20:57:21 +01:00
Martin Aeschlimann 223076ac54 [json] support result limits 2019-10-28 20:23:16 +01:00
Benjamin Pasero ca22de4b17 debt - bump node.d.ts dependency in extensions to 12.x (part of #82514) 2019-10-28 08:11:47 +01:00
Martin Aeschlimann 42d95e583b json ls-server readme: typos 2019-10-10 09:26:22 +02:00
Martin Aeschlimann 3da9bcbb78 JSON Language Server 1.2.2 2019-10-10 09:19:26 +02:00
Martin Aeschlimann ddcdb9dd66 json: provideFormatter fix 2019-10-02 12:14:01 +02:00
Martin Aeschlimann 1465409125 update json server & service 2019-09-30 22:58:40 +02:00
Martin Aeschlimann 78a6b2d72f #81592 again 2019-09-30 14:51:26 +02:00
Martin Aeschlimann 078acb7872 JSON formatting often fails at first. Fixes #71652 2019-09-30 12:25:57 +02:00
Martin Aeschlimann 3259fbf267 [json] Use textDocument.rangeFormatting.dynamicRegistration instead of workspace.symbol.dynamicRegistration? #81592 2019-09-30 09:23:23 +02:00
Martin Aeschlimann cb70fd5ef0 rename allowTrailingsCommas -> allowTrailingCommas 2019-09-20 11:31:11 +02:00
Martin Aeschlimann a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Martin Aeschlimann ba5ea8e2d2 [json] update service 2019-08-27 14:45:36 +02:00
Martin Aeschlimann 379623e369 update yarn.lock files 2019-08-21 18:04:55 +02:00
Martin Aeschlimann be8f289fa9 update jsonc-parser 2019-08-21 16:55:59 +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
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