Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
JohnnyMorganz opened this issue Apr 29, 2022 · 0 comments · Fixed by #469
Closed

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

JohnnyMorganz opened this issue Apr 29, 2022 · 0 comments · Fixed by #469
Labels
enhancement New feature or request

Comments

@JohnnyMorganz
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant