-
Notifications
You must be signed in to change notification settings - Fork 37.7k
Closed
Labels
editor-indent-detectionIssues around the guessing of indentation for filesIssues around the guessing of indentation for filesinfo-neededIssue requires more information from posterIssue requires more information from poster
Description
VSCode Version:code --version 1.48.2
OS Version: Fedora 32 x64
Steps to Reproduce:
Run code --disable-extensions
Create a .go file with a separate editor that has tab indentation
Set the following in user settings
"editor.detectIndentation": false,
"editor.insertSpaces": true,
"editor.tabSize": 4,
Make sure the workspace has no settings
Open the file
Check in the lower right corner if indentation is tabs or spaces
What I expected:
VS code ignores the already used indentation in the file and uses spaces for future indentation.
What happened:
VS code detected the indentation of the file and kept using tabs instead of spaces for indentation.
Does this issue occur when all extensions are disabled?: Yes/No
Yes
Metadata
Metadata
Assignees
Labels
editor-indent-detectionIssues around the guessing of indentation for filesIssues around the guessing of indentation for filesinfo-neededIssue requires more information from posterIssue requires more information from poster