Skip to content

Extra indentation of def when prefixed with "private" #33939

@faustinoaq

Description

@faustinoaq
  • VSCode Version: 1.15.0
  • OS Version: Manjaro KDE Gellivara

Steps to Reproduce:

  1. Open a ruby file.
  2. Ensure autoIndent is enabled.
  3. Write some function with indentation (by example, inside a class), then try to write end keyword

Reproduces without extensions: Yes

Imgur

Imgur

This happen by default in vscode, but other extensions like vscode-ruby and vscode-crystal-lang also have this issue:

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugeditor-autoindentEditor auto indentation issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions