-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Better detection of IntelliJ language injection comments #14094
base: main
Are you sure you want to change the base?
Conversation
By the way, do we want that giant regex to be case-insensitive? |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you help me review this more efficiently by listing yoour changes so that I don't have to diff the Regex?
For case-sensitivity: I think we should use case-sensitive for the suppression comments that are case-sensitive and allow case-insensitivity for the ones that are not.
I also think we should gate this change behind preview mode unless all changes relax the rule's strictness.
Here's a comparison table:
As for
|
Summary
Enhances #14069.
Test Plan
A few tests are added to cover edge cases.