Skip to content

Format Document is removing tabs #758

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

Closed
wsmelton opened this issue May 17, 2017 · 1 comment
Closed

Format Document is removing tabs #758

wsmelton opened this issue May 17, 2017 · 1 comment

Comments

@wsmelton
Copy link

Does this in both Editions of Code.

System Details

  • Operating system name and version: Windows 10
  • VS Code version: 1.12.2 (and Insiders 1.13.0
  • PowerShell extension version: 1.0.0
  • Output from $PSVersionTable:
C:\WINDOWS\system32> code -v
1.12.2
19222cdc84ce72202478ba1cec5cb557b71163de
C:\WINDOWS\system32> $pseditor.EditorServicesVersion
C:\WINDOWS\system32> code --list-extensions --show-versions
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
C:\WINDOWS\system32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      5.1.14393.1198
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14393.1198
CLRVersion                     4.0.30319.42000
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1

Issue Description

I am experiencing a problem with...tabs/spaces when using "format document". If you go the command pallete and run format document, some of the tabs (not all) are converted to spaces.

tabsspaces

@daviwil
Copy link
Contributor

daviwil commented May 17, 2017

Thanks for the report! This is already covered by #530 so we'll keep tracking it there. Great GIF though, I'll steal that for the other issue :)

@daviwil daviwil closed this as completed May 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants