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

Cannot modify editor.insertSpaces setting anymore #3469

Closed
alexdima opened this issue Feb 25, 2016 · 1 comment
Closed

Cannot modify editor.insertSpaces setting anymore #3469

alexdima opened this issue Feb 25, 2016 · 1 comment
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Milestone

Comments

@alexdima
Copy link
Member

Have a file test.txt:

function a() {
    var a = {
        x: 3
    };
}

Use the following settings in the user settings and make sure there are no workspace settings:

{
    "editor.renderWhitespace": true
    , "files.autoSave": "afterDelay"
    , "editor.tabSize": 4
    , "editor.insertSpaces": false
    , "files.trimTrailingWhitespace": false 
}

Open the file and the user settings side-by-side:
image

Go in test.txt and press a Tab. It is ok, it inserts a tab character:
image

Go to the settings and change "editor.insertSpaces": true.

Go back to the file and press another Tab. Observe, it still inserts tabs.

This used to work.

The editor status contribution should change editor options only if there was a manual user interaction with the tab status for the file

@alexdima alexdima added bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority labels Feb 25, 2016
@alexdima alexdima added this to the Feb 2016 milestone Feb 25, 2016
@isidorn isidorn assigned alexdima and unassigned isidorn Feb 26, 2016
@isidorn
Copy link
Contributor

isidorn commented Feb 26, 2016

Very cool catch!

@alexdima alexdima added the verified Verification succeeded label Feb 26, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants