Commit Graph

128 Commits

Author SHA1 Message Date
Copilot
c580582216 Silence the "Comments are not permitted in JSON." error for emmet snippets.json files (#257878)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-07-28 10:21:05 -07:00
Johannes Rieken
2e59a77991 Add support for tool sets (#249448)
* observale map/set

* adds tool sets, let mcp contribute tool set, update commands

* add `languageModelToolSets` contribution point that allows extensions to define set of tools

* only homogenous tool sets hide the tools they contain (that is set and all its tools are from the same source)

* make sure checking/unchecking buckets works

* make it more clear that the action is about tool configuration (not selecting/attaching)

* simplify `IToolSet#tools`

* support `*.toolset.json` files

* one bucket for all MCP servers

* use mcp icon

* use `.toolsets.json` suffix

* [tools config-pick] keep parents, peek sort order

* * add "Configure Tool Sets" actions
* make it `toolsets.jsonc` and register schema etc pp
* fix some tools picker issues

* add tool sets validation

* * tools completions
* Add ToolDataSource.Internal constant

* add missing return

* make tool set a class

* allow a tool set to contain other tool sets

* use dynamic schema for `toolsets.jsonc` language features

* fix tests
2025-05-21 06:54:14 -07:00
Martin Aeschlimann
65cce8f7b6 Merge pull request #235917 from remcohaszing/bun-lock
Mark bun.lock as jsonc
2024-12-12 17:44:23 +01:00
Remco Haszing
494787526e Allow the .ndjson extension for the jsonl language
NDJSON is a specification that is essentially the same thing as JSON
lines. The spec can be found on https://github.com/ndjson/ndjson-spec.

The NDJSON website is down. The project seems pretty much dead. The
status is best described by this comment:
https://github.com/ndjson/ndjson-spec/issues/35#issuecomment-1285673417

However, this doesn’t mean there aren’t any `.ndjson` files out there.
This changes adds `.ndjson` to the list of `jsonl` file extensions.
2024-12-12 10:54:34 +01:00
Remco Haszing
39b0575e39 Mark bun.lock as jsonc
Bun added support for a new lockfile format using the jsonc language. It
uses an unconventional file extension, but it would be nice if VSCode
understands it by default anyway.

See https://github.com/oven-sh/bun/pull/15705
2024-12-12 10:46:25 +01:00
Sandeep Somavarapu
1e0580ec23 Use categories for builtin extensions groups (#202453)
* support grouping of extensions

* remove grouping

* reuse categories parsing

* cleanup

* fix tests
2024-01-14 18:19:29 +01:00
Alex Ross
5f9fc780c2 Add snippets as a language (#185017)
* Add snippets as a language

* Snippets -> Code Snippets

* Add tests

* json.snippets -> json.comments.snippets
2023-07-28 09:21:56 -07:00
Yash Singh
4ec04f4c25 feat: .vuerc as json file (#153017)
Co-authored-by: Martin Aeschlimann <martinae@microsoft.com>
2023-05-29 21:12:30 +02:00
DoctorKrolic
0adddd8281 Add JSON Lines language definition (#183035)
* Add `JSON Lines` language definition

* Fix ident
2023-05-25 10:02:57 +02:00
Gerrit Birkeland
9ac5f48ff3 Add jsonc registration for TypeDoc config (#157362)
This is supported as of TypeDoc 0.23. Since it is more commonly used than ember-cli, seems reasonable to add it here.
2022-09-26 15:51:23 +02:00
rebornix
cca25256a3 remvoe jupyter(json) 2022-02-15 17:45:09 -08:00
Mateusz Konieczny
4fa31ba157 recognise .geojson as json, fixes #129329 2021-07-25 10:28:36 +02:00
rebornix
cf0231eb6e fix #124918. preserve ipynb file type. 2021-06-30 15:15:59 -07:00
Martin Aeschlimann
693677c8a2 babel.config.json language mode should be 'jsonc'. Fixes #124683 2021-05-27 13:33:47 +02:00
rebornix
c63564b531 fix #122589 2021-04-30 14:42:10 -07:00
João Moreno
ec805db5ed add repository field to extensions package.json 2021-01-29 15:30:45 +01:00
João Moreno
3b03189afa Restore extensions in core (#114921)
* bring back grammar extensions

* fix hygiene

* Revert "pull themes from the marketplace"

This reverts commit 0738f76dac.
2021-01-25 17:07:56 +01:00
João Moreno
bc7d3c9ea6 remove grammar extensions 2021-01-15 12:35:17 +01:00
Logan Rosen
710da39135 Mark .ember-cli as jsonc instead of json
The .ember-cli file generated by Ember is JSON with Comments (jsonc): https://github.com/ember-cli/ember-cli/blob/master/blueprints/app/files/.ember-cli

I've changed its associated language accordingly because it being the JSON type by default causes red underlines in the generated file.
2020-11-12 22:33:38 -05:00
Martin Aeschlimann
4c99db1a05 file extensins: put primary first. For #102100 2020-07-11 17:36:19 +02:00
John Blackbourn
b398b7ea14 Treat *.ts.map files as JSON (#98409) 2020-05-26 11:59:28 -07:00
Ilia Pozdnyakov
dbdf8bb075 add more json file extensions #95584 2020-04-21 14:45:05 +07:00
Martin Aeschlimann
e81eebde0d Minimal support for JSON-LD files. Fixes #95013 2020-04-14 12:13:12 +02:00
Martin Aeschlimann
abab0c8548 [json] move jsonValidation declaration for #88835 2020-01-23 11:35:51 +01:00
Ԝеѕ
32b4eb7359 Add .har extension to JSON language (#77300) 2019-10-07 12:08:52 +02:00
Martin Aeschlimann
a7def72d9e trailing commas only for setting files 2019-08-29 13:19:03 +02:00
Daniel Imms
d2ed5fb5e5 Make tslint.json jsonc language
Fixes #78821
2019-08-09 11:11:58 -07:00
Daniel Imms
3e60627dce Use JSON with comments for .eslintrc(.json)
Fixes #73483
2019-06-26 16:50:54 -07: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
Martin Aeschlimann
6850012cf4 Merge pull request #67517 from kdy1/swcrc
Treat .swcrc file as json
2019-02-13 16:41:00 +01:00
John Blackbourn
b46c77b7ad Treat Composer lock files as JSON by default. Fixes #67859. 2019-02-04 15:45:08 +01:00
강동윤
6b314dc984 treat .swcrc file as json 2019-01-30 14:24:59 +09:00
Donald Pipowitch
ee5153ffde added .hintrc and moved .babelrc to jsonc grammar 2018-11-26 07:57:55 +01:00
Martin Aeschlimann
ee3d28f28a [json] update dependencies, support schema-draft7 2018-08-27 17:21:20 +02:00
Martin Aeschlimann
0e87ea1c5e jsonc strings are wrong color. Fixes #53010 2018-06-27 14:34:51 +02:00
Martin Aeschlimann
7f56f200c1 Separate grammar for jsonc (fixes #42539) 2018-06-25 23:30:06 +02:00
Martin Aeschlimann
66c1b6d64c move jsonc associations to configuration-editing 2018-06-06 17:11:00 +02:00
Martin Aeschlimann
0814ab46f7 Suggestion: tsconfig.*.json should be detected as jsonc. Fixes #50974 2018-06-06 17:11:00 +02:00
Martin Aeschlimann
ee3dd420b4 [json] Add file extension association for JSONC files. Fixes #48969 2018-05-02 22:29:05 +02:00
Martin Aeschlimann
4afd003cf3 [json] Treat *.css.map and *.js.map as JSON by default. Fixes #48291 2018-05-02 12:19:36 +02:00
Martin Aeschlimann
5b23587f08 [json] split json extension (for #45900) 2018-03-17 15:47:58 +01:00
Martin Aeschlimann
0d5ee612e0 [json] update server & services 2018-03-05 16:55:00 +01:00
Martin Aeschlimann
7b98237ad5 CSS/JSON/HTML icons. For #44626 2018-02-28 13:57:35 +01:00
Ramya Achutha Rao
251101e6ea Use latest AI to avoid monkey patching of modules Fixes Microsoft/vscode-extension-telemetry#12 2018-02-27 13:42:26 -08:00
Martin Aeschlimann
8bd41ceeca built-in extensions: version to 1.0.0 (for #43978) 2018-02-27 15:16:07 +01:00
Ramya Achutha Rao
c1ee104fd4 Use latest version of telemetry module 2018-02-23 14:57:27 -08:00
Martin Aeschlimann
61a2adfa1a [json] setting for syntax folding (experimental) 2018-02-23 16:23:59 +01:00
Dirk Baeumer
c2a227b77e Locking version for language client and server 2018-02-22 12:35:23 +01:00
Martin Aeschlimann
e45d279b36 description & name for built-in languages (#43978) 2018-02-20 10:09:22 +01:00
Ramya Achutha Rao
ad06c9c609 Update telemetry module 2018-02-17 17:27:09 -08:00