Skip to content

Toggle Line Comment should ignore editor.tabSize and only use editor.indentSize #170393

@jhasse

Description

@jhasse

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.74.2
  • OS Version: Windows 10

Steps to Reproduce:

grafik
Toggle Line Comment
grafik
-> // is added after the indention

Using an editor.tabSize greater than the editor.indentSize:
grafik
Toggle Line Comment
grafik
-> // is added at the beginning of the line

I think the expected behavior would be that in the second case Toggle Line Comment behaves the same - adding // after the indention (4 spaces).

Related: #155450

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugeditor-commentsEditor commenting/uncommenting commandsinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions