Skip to content

Settings UI - Not Showing Language Specific fields #58995

Closed

Description

@pxwee5

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)

Activity

  1. added
    feature-request
    settings-editor
    on Sep 20, 2018
  2. roblourens commented on Sep 20, 2018

    @roblourens
    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.

  3. devuxer commented on Feb 22, 2019

    @devuxer

    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.

  4. changed the title [-]Settings UI - Not Showing Language Specific fields for TabSize/InsertSpaces[/-] [+]Settings UI - Not Showing Language Specific fields[/+] on Aug 5, 2019
  5. added this to the Backlog milestone on Oct 28, 2019
  6. kertzi commented on May 6, 2020

    @kertzi

    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

  7. rzhao271 commented on Mar 7, 2022

    @rzhao271
    Collaborator

    Merging to #131707.

  8. locked and limited conversation to collaborators on Apr 22, 2022
  9. removed this from the Backlog milestone on Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestsettings-editor

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions