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

Automatic Formatting is using 4 spaces instead of what I set it to use #16386

Closed
Lazzu opened this issue Dec 2, 2016 · 7 comments
Closed

Automatic Formatting is using 4 spaces instead of what I set it to use #16386

Lazzu opened this issue Dec 2, 2016 · 7 comments
Assignees
Labels
formatting Source formatter issues info-needed Issue requires more information from poster

Comments

@Lazzu
Copy link

Lazzu commented Dec 2, 2016

  • VSCode Version: Code 1.7.2 (7ba55c5, 2016-11-21T22:06:37.428Z)
  • OS Version: Windows_NT ia32 10.0.14393
  • Extensions:
Extension Author Version
githistory donjayamanne 0.1.2
Theme-azure gerane 0.0.2
theme-chrome-devtools-dark ivanzusko 0.0.1
omnisharp ms-vscode 0.3.3
better-merge pprice 0.3.0
vscode-icons robertohuertasm 4.0.4
unity-tools Tobiah 0.1.9
unity-debug Unity 1.1.0
gitblame waderyan 1.3.0
unity-snippets YclepticStudios 0.1.2

Steps to Reproduce:

  1. Set indentation formatting to be 2 spaces, no tabs. My config below:

"editor.tabSize": 2,
"editor.insertSpaces": true,
"editor.formatOnType": false,
"editor.formatOnSave": true

  1. Automatic formatting is still using 4 spaces
@mrmlnc
Copy link
Contributor

mrmlnc commented Dec 2, 2016

Language?

@Lazzu
Copy link
Author

Lazzu commented Dec 2, 2016

C#

@mrmlnc
Copy link
Contributor

mrmlnc commented Dec 2, 2016

Is a random problem?

I ask because we have similar problem with JS/TS (#15316).

@Lazzu
Copy link
Author

Lazzu commented Dec 2, 2016

I haven't noticed it being random.

@mjbvz mjbvz added the formatting Source formatter issues label Dec 2, 2016
@chrmarti
Copy link
Collaborator

chrmarti commented Dec 2, 2016

@waderyan @jrieken Could this be a more general issue than just with JS/TS? (#15316)

@chrmarti chrmarti self-assigned this Dec 2, 2016
@chrmarti chrmarti added the info-needed Issue requires more information from poster label Dec 2, 2016
@jrieken
Copy link
Member

jrieken commented Dec 5, 2016

re #16386 (comment) - I don't think so

@chrmarti
Copy link
Collaborator

chrmarti commented Dec 5, 2016

This issue was moved to dotnet/vscode-csharp#1015

@chrmarti chrmarti closed this as completed Dec 5, 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
formatting Source formatter issues info-needed Issue requires more information from poster
Projects
None yet
Development

No branches or pull requests

5 participants