Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Settings UI - Not Showing Language Specific fields #58995

Closed
pxwee5 opened this issue Sep 20, 2018 · 4 comments
Closed

Settings UI - Not Showing Language Specific fields #58995

pxwee5 opened this issue Sep 20, 2018 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality settings-editor VS Code settings editor issues

Comments

@pxwee5
Copy link

pxwee5 commented Sep 20, 2018

Issue Type: Bug

User settings JSON:

  "[javascript]": {
    "editor.tabSize": 2,
    "editor.insertSpaces": true
  },
  "[php]": {
    "editor.tabSize": 2,
    "editor.insertSpaces": true
  },

Settings UI - Not showing language specific fields at all. Just a general tab size.
image

VS Code version: Code 1.27.2 (f46c4c4, 2018-09-12T07:04:11.329Z)
OS version: Darwin x64 16.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-4870HQ CPU @ 2.50GHz (8 x 2500)
GPU Status 2d_canvas: enabled
checker_imaging: disabled_off
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: enabled
rasterization: enabled
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
Load (avg) 3, 2, 2
Memory (System) 16.00GB (0.82GB free)
Process Argv /Applications/Visual Studio Code.app/Contents/MacOS/Electron .
Screen Reader no
VM 0%
Extensions (15)
Extension Author (truncated) Version
html-css-class-completion Zig 1.17.1
html-snippets abu 0.2.1
silverstripe adr 0.0.5
vscode-sqlite ale 0.3.1
vscode-intelephense-client bme 0.8.8
npm-intellisense chr 1.3.0
vscode-eslint dba 1.6.0
gitlens eam 8.5.6
prettier-vscode esb 1.6.1
graphql-for-vscode kum 1.12.1
php-import-checker mar 0.1.3
php-namespace-resolver Meh 1.1.0
vetur oct 0.12.6
highlight-matching-tag vin 0.4.4
ReactSnippets xab 2.2.0

(1 theme extensions excluded)

@vscodebot vscodebot bot added the editor label Sep 20, 2018
@alexdima alexdima removed the editor label Sep 20, 2018
@roblourens roblourens added feature-request Request for new features or functionality settings-editor VS Code settings editor issues labels Sep 20, 2018
@roblourens
Copy link
Member

Yes, this is not supported. We consider this an advanced feature and you will still have to use the json settings editor for this.

@devuxer
Copy link

devuxer commented Feb 22, 2019

@roblourens,

The problem is not really the need to edit a JSON file, it's that the feature is not discoverable, and therefore it appears that the global tabSize setting is malfunctioning. This was driving me crazy with YAML files, until I finally reported it as an issue (#69011) and was informed about the back-door YAML tabSize setting.

It's OK to have advanced settings but not when a hidden advanced setting overrides the behavior of a regular setting. So, either these settings should appear in the UI or an additional obeyGlobalTabSize setting (which defaults to true) should be added for each editor.

@kertzi
Copy link

kertzi commented May 6, 2020

I have same annoying type problem as in #69011
But with .yml files specifically, .yaml works. When I want set tabSize to 2 it always resets to 4 which is not configured anywhere I can find. I have tried to go thru workspace/user/global settings without luck.

Here is snippet from my user settings.json:

 "files.associations": {  
      "*.yaml": "yaml",
      "*.yml": "yaml"
    },
    "[yaml]": {
        "editor.detectIndentation": true,
        "editor.insertSpaces": true,
        "editor.tabSize": 2,
        "editor.autoIndent": "none",
    },

Version: 1.44.2
Commit: ff91584
Date: 2020-04-16T17:07:18.473Z
Electron: 7.1.11
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 18.7.0

@rzhao271
Copy link
Contributor

rzhao271 commented Mar 7, 2022

Merging to #131707.

@rzhao271 rzhao271 closed this as completed Mar 7, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 22, 2022
@rzhao271 rzhao271 removed this from the Backlog milestone Jan 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality settings-editor VS Code settings editor issues
Projects
None yet
Development

No branches or pull requests

6 participants