Skip to content

Allow ignore comments to be used in places other than before statements #448

@JohnnyMorganz

Description

@JohnnyMorganz

Currently, the only place ignore comments will be registered if they are leading trivia before statements.
This can be confusing, especially when you place a comment somewhere but it does not do anything.

We should be able to handle ignore comments in most locations. A key location to start with is before a field within a table (we may want to specifically ignore a single field). The only thing to consider is the impact that ignoring has on the remaining formatted code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions