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

Add ignoreInterpolations util to fourslash for fuzzy diagnostic matching #35652

Merged

Conversation

andrewbranch
Copy link
Member

Context: working on #32901 to stop returning a fix-all when there’s nothing left to fix led me to discover some fourslash codefix tests that seemed to be using verify.codeFixAll instead of verify.codeFix purely to avoid having to write out an interpolated diagnostic message for description. Writing the interpolation is often redundant with the rest of the test, and it makes it hard to use a constant from ts.Diagnostics.

image

I wanted to put this functionality in a separate PR because I’m not 100% confident when or if the #32901 PR will land since I’ll need to coordinate with VS Code.

@andrewbranch
Copy link
Member Author

@weswigham I’m going to merge so I can rebase the PR I split this off from, but let me know if you have more feedback.

@andrewbranch andrewbranch merged commit c73af61 into microsoft:master Dec 17, 2019
@andrewbranch andrewbranch deleted the fourslash-ignore-interpolations branch December 17, 2019 01:21
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.

None yet

2 participants