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

Disable highlight pass on mock files #1998

Merged
merged 1 commit into from
Aug 7, 2024

Conversation

pkukielka
Copy link
Contributor

Changes

Replaces #1995

Fixes Fixes CODY-3166 / #1991

Mock files are used for in-memory buffers. Normally all editable code files are not mocks/in-memory files (even scratches are normal files) so we can assume if file is mock it is most likely some special component for which we do not want to add cody error highlighting.

Test plan

Manually verified that HighlightPass no longer applies to the Repo Editor

Copy link
Contributor

@RXminuS RXminuS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like it ... much better :-)

@pkukielka pkukielka merged commit ae1c369 into main Aug 7, 2024
6 of 7 checks passed
@pkukielka pkukielka deleted the pkukielka/disable-highlight-pass-on-non-code-files branch August 7, 2024 12:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants