Skip to content

Skip comments entirely when evaluating indentation #209861

@aiday-mar

Description

@aiday-mar

In relation to #209519

As part of the indentation improvement, we would like to entirely strip comments from the current line being considered before evaluating the indentation rules

Simplify the indentation regexes in order not to take into account comment placements for indentation.

Metadata

Metadata

Assignees

Labels

editor-autoindentEditor auto indentation issuespolishCleanup and polish issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions