vscode
vscode copied to clipboard
Multiple language-specific editor settings does not work in workspace-specific settings
Type: Bug
The following setting is valid in my own user settings.json file:
"[typescript][yaml][markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
If I place that in a project's .vscode/settings.json file, it does not work as expected. It only works if you specify a single language.
The documentation does not call this out as a limitation of workspace settings, so I can only assume that this is a bug.
VS Code version: Code 1.97.1 (e249dada235c2083c83813bd65b7f4707fb97b76, 2025-02-10T13:13:58.153Z) OS version: Darwin arm64 23.6.0 Modes:
System Info
| Item | Value |
|---|---|
| CPUs | Apple M1 Pro (10 x 2400) |
| GPU Status | 2d_canvas: enabled canvas_oop_rasterization: enabled_on direct_rendering_display_compositor: disabled_off_ok gpu_compositing: enabled multiple_raster_threads: enabled_on opengl: enabled_on rasterization: enabled raw_draw: disabled_off_ok skia_graphite: disabled_off video_decode: enabled video_encode: enabled webgl: enabled webgl2: enabled webgpu: enabled webnn: disabled_off |
| Load (avg) | 8, 10, 11 |
| Memory (System) | 32.00GB (0.16GB free) |
| Process Argv | --crash-reporter-id 07e484e5-ada3-4296-adea-39d6c26a0c7c |
| Screen Reader | no |
| VM | 0% |
Can you please share all your user settings and workspace settings?
Are you seeing the same issue as this - https://github.com/microsoft/vscode/issues/238474
This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!