Skip to content

Conversation

@mcorrig4
Copy link

@mcorrig4 mcorrig4 commented Aug 4, 2021

The extension was "detecting" regular expressions inside of JSX comments (React code). I added a check to ignore these. You can see the problem that is fixed in the screenshot below.

image

I've never made a VS Code extension before so there is probably a lot of room for improvement here. Maybe adding something to settings to toggle this feature, or having this only happen inside .jsx and .tsx files.

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.

4 participants