Commit graph

336 commits

Author SHA1 Message Date
Martin Aeschlimann 22c88ab04e
[json] update service (#176306)
[json] update service (for #176296)
2023-03-06 14:07:10 -08:00
Aiday Marlen Kyzy b9d1118393
increasing the package version of vscode-json-langaugeservice to 5.3.1 2023-02-24 18:12:08 +01:00
Martin Aeschlimann 07d120e10a
schema URI not resolving in workspace file (#175320)
schema URI  not resolve in workspace file
2023-02-24 12:33:59 +01:00
Martin Aeschlimann 8dcf90c7d0
Non-standard capitalization of JSON commands (#175251) 2023-02-23 16:52:44 +01:00
Martin Aeschlimann 400fde0524
relative schema path not resolved properly (#175185) 2023-02-23 00:01:20 +01:00
Martin Aeschlimann 05abefc4cd
[css/json/html] update services and server (#174867) 2023-02-21 07:27:06 +01:00
Aiday Marlen Kyzy eee87af252
Adding the server and client code to the JSON language features extensions to enable JSONC sorting in VS Code (#174352)
* temporarily changing the funcion onFromat to be able to trigger the sorting on real examples

* adding the DocumentSortingRequest

* accesssing directly the text edits from the request

* added code in order to provide the link between the json sorting capabiliites and vscode

* adapting to the new api output of the sort function

* instead of using await use then inside of the command that registers

* textEditor replaces window.activeTextEditor

* adding changes from review

* update service

* use SortOptions

---------

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-02-17 19:49:05 +01:00
Martin Aeschlimann 911f119120
generalize limit indicator and use for color decorators (#173730)
* generalize limit indicator and use for color decorators

* remove updateDebounceInfo max
2023-02-08 07:43:29 +01:00
Joyce Er affa0691f9
Remove redundant activation events (#172062) 2023-02-06 09:38:15 -08:00
Martin Aeschlimann beea143b43
json server readme wording (#173304) 2023-02-03 06:39:45 -08:00
Martin Aeschlimann bd9ac7a089
Fix JSON schema configuration in multi root workspaces (#173169)
[json] add folderUri to SchemaAssociation and schema setting
2023-02-02 13:36:41 -08:00
Matt Bierner d11134fdf8
Make language servers use webworker typings (#172879)
This makes the css, html, and json language  servers to use the `webworker` typings. This lets us avoid having to redeclare `self`
2023-01-31 09:38:48 +01:00
Martin Aeschlimann 49e696c011
web: css language server not working when display language is set (#172430) 2023-01-25 20:19:40 +01:00
Martin Aeschlimann 2472a59bd6
[json/html/css] update dependencies (#172058) 2023-01-23 20:49:20 +01:00
Logan Ramos 8cea434dec
Remove unused proposals (#172035) 2023-01-23 19:09:07 +01:00
Martin Aeschlimann c88c85c84b
[json/html] Update @vscode/extension-telemetry (#171990) 2023-01-23 15:41:33 +01:00
Martin Aeschlimann d4b18e0bc1
n10n lookup in node language servers (#171437)
* config node language servers with l10n location

* fix loading

* add workaround comment
2023-01-17 23:05:55 +01:00
Martin Aeschlimann b27ee6b7b5
[html/css/json] pass the location of the localization bundle to the server (#168111)
pass the location of the localization bundle to the server
2022-12-05 14:49:27 -08:00
Martin Aeschlimann 4ade07fd67
[json/css/html] update service & dependencies (#167402) 2022-11-28 14:15:33 +00:00
Logan Ramos 73d882bcf7
Update telemetry package (#166292) 2022-11-14 09:30:33 -08:00
Logan Ramos bf1697d98c
Consume proposed telemetry API (#165862)
* Consume proposed telemetry API

* Update webpack
2022-11-08 21:58:28 -05:00
Martin Aeschlimann afac9524b6
[css/json/html] move to l10n (#165725)
[css/json/html] move to l10n (for #164438)
2022-11-08 07:32:38 -08:00
David Dossett 2da60fd58b
Update quick pick placeholders and/or remove titles (#165267) 2022-11-02 15:43:18 -07:00
Martin Aeschlimann c83eff40dd
Remove too many folding regions notification (#163854)
* Remove too many folding regions notification

* remove duplicate folding limit item for JSON/JSONC

* polish

* fix test
2022-10-17 14:42:02 -07:00
Martin Aeschlimann 741fa37b10
[json/css/html] update services / deps (#161831) 2022-09-26 12:41:26 -07:00
Martin Aeschlimann 724a088c68
update vscode-uri, fix links in untited (fixes #147788) (#161108) 2022-09-16 07:57:10 -07:00
Martin Aeschlimann 48d1e04d9d
[css/json/html] update servers and services (#160108) 2022-09-05 19:10:32 +02:00
Tyler James Leonhardt d8453c0440
Rev built-in versions of vscode-nls to 5.1.0 (#157530)
* rev version of vscode-nls to 5.1.0

* and yarn lock
2022-08-08 18:43:45 +02:00
Aiday Marlen Kyzy 47a1f80c65
Adding keepLines feature to the settings (#154790)
* Adding the keepLines feature into the settings so the user can format while keeping the original line positions in json documents

* update service

* update dependencies

Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2022-07-12 09:59:33 +02:00
Logan Ramos a20329d291
Switch extensions to 1DS (#154299)
* Move extensions to 1DS

* Switch extensions to 1DS
2022-07-06 17:18:41 -07:00
Martin Aeschlimann b3cc787d78
[json] use language indicator for folding limit warnings (#153104)
* reduce number of json notifications

* use language indicator for folding limit warnings. For #142496

* add comment for resultLimit + 1
2022-06-24 15:01:02 +02:00
Logan Ramos 4a7a6a597a
Update extension telemetry modules (#153057) 2022-06-24 00:53:23 +00:00
Johannes ed9ed45794
Merge branch 'main' into joh/voluminous-lobster 2022-06-10 09:07:30 +02:00
Matt Bierner f7e12a3a92
Use optional method calls in more places (#151634)
This replaces code like:

```ts
if (foo.bar) {
    foo.bar(cat);
}
```

with:

```ts
foo.bar?.(cat)
```

Which is more concise but has the same meaning
2022-06-09 15:04:28 -07:00
Johannes 0656d21d11
auto-fixed prefer-const violation 2022-06-08 17:49:21 +02:00
Martin Aeschlimann 1805df1a11
Validation not working in settings JSON (#151202)
JSON/HTML/CSS update services
2022-06-03 12:45:45 +02:00
Martin Aeschlimann f1b392ed55 polish names 2022-05-22 20:03:30 +02:00
Martin Aeschlimann 49944b1501 DiagnosticsSupport for json and html 2022-05-22 20:03:30 +02:00
Martin Aeschlimann aacb387ef1 implement diagnostic pull 2022-05-22 20:03:30 +02:00
Martin Aeschlimann e783fdc25e
css/html/json update to lsp 8 (#148715) 2022-05-19 12:48:53 +02:00
Martin Aeschlimann caa463191f
add telemetry event comments and owner (#149070) 2022-05-17 15:20:02 +02:00
Benjamin Pasero c6bd448948
debt - bring @types/mocha up to date with version 9.x 2022-05-02 08:30:27 +02:00
Martin Aeschlimann 8f5b743a0b
[json] Allow "json.validate.enable": false in settings / disable JSON validation or error checking. Fixes #114775 2022-04-12 15:33:25 +02:00
Martin Aeschlimann 3698a0b247
polish json schema language info 2022-04-04 16:17:49 +02:00
Martin Aeschlimann 27729fb7c6
JSON language status isn't "pin friendly". Fixes #146561 2022-04-04 11:30:41 +02:00
João Moreno b390ac286b
OK 2022-03-21 09:30:09 +01:00
Martin Aeschlimann 50c8eb444d
[html, json] update services 2022-03-18 18:04:10 +01:00
Logan Ramos 9b7268acf9
Update telemetry module 2022-03-18 11:34:33 -04:00
Robo 32d40cf44e
chore: update to electron 17 (#143223)
* chore: bump electron@17.0.0

* Revert "chore: revert to electron@13 (#143851)"

This reverts commit df645f1450.

* chore: bump electron@17.1.0

* Revert "ci: fix build with latest node-gyp"

This reverts commit c3e948aa30.

* chore: revert ci changes for node v16

* chore: update yarn.lock

* chore: bump electron@17.1.1
2022-03-11 00:51:37 +09:00
Martin Aeschlimann 4274ec05b8
[html][json] fix some missing dispose registrations 2022-03-02 11:57:20 +01:00