Skip to content

Code formatting doesn't respect user's tabs-vs-spaces preference in "editor.insertSpaces" #530

@andrewducker

Description

@andrewducker

System Details

  • Operating system name and version: Windows 7
  • VS Code version: 1.10.1
  • PowerShell extension version: 0.9.0
  • Output from $PSVersionTable:
Name                           Value
----                           -----
PSVersion                      4.0
WSManStackVersion              3.0
SerializationVersion           1.1.0.1
CLRVersion                     4.0.30319.42000
BuildVersion                   6.3.9600.16406
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0}
PSRemotingProtocolVersion      2.2

Issue Description

I am experiencing a problem with code formatting.
When the "editor.insertspaces" option is set to false then I would expect the "format selection" option to use tabs for formatting the code. Instead it still used spaces.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions