microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.57k stars 28.66k forks source link

Language specific settings are not language specific anymore when applied to all profiles #192745

Open p-rogalski opened 1 year ago

p-rogalski commented 1 year ago

Type: Bug

VSCode supports settings, which apply to all profiles. It also has language-specific settings.

Unfortunately, both don't work well together. Consider the following user settings :

"[python]": {
  "editor.formatOnSave": true
},
"workbench.settings.applyToAllProfiles": [
  "editor.formatOnSave"
]

The default Format on save settings for all languages are now set across all profiles. There is no way to set Format on save across all profiles just for Python.

VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:07.438Z) OS version: Windows_NT x64 10.0.22621 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 5700G with Radeon Graphics (16 x 3800)| |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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled| |Load (avg)|undefined| |Memory (System)|15.30GB (5.11GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (16) Extension|Author (truncated)|Version ---|---|--- TabOut|alb|0.2.2 gitlens|eam|14.3.0 gitlab-workflow|Git|3.76.1 todo-tree|Gru|0.0.226 hexeditor|ms-|1.9.12 live-server|ms-|0.4.9 powershell|ms-|2023.6.0 vsliveshare|ms-|1.0.5883 git-log--graph|phi|0.1.12 vscode-yaml|red|1.14.0 vscode-coverage-gutters|rya|2.11.0 code-spell-checker|str|3.0.0 code-spell-checker-german|str|2.2.1 errorlens|use|3.13.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.2.30
beyimjan commented 5 months ago

Here's a real problem that needs to be solved! That would be very helpful.