Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

Highlighting/Indention doesn't always work as intended #282

@wingrunr21

Description

@wingrunr21

This is a tracking issue to collect issues related to the highlighting functionality and/or the indention not always working as intended.

The highlight provider is currently attempting to use regular expressions to figure out balanced pairs (see here. This approach has proven to be quite brittle (as #253, #250, #231, #223 can attest).

Given how dynamic Ruby is, we may want to consider going with an AST implementation to correctly identify language constructs. This would have the added benefit of correctly identifying custom DSLs.

Tracked issues:
#257 (possibly caused by wordPattern
#265
#277
#280
#322

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugBug reports

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions