allow wildcards in getSupportedCodeFixes #28990
Labels
API
Relates to the public API for TypeScript
In Discussion
Not yet reached consensus
Suggestion
An idea for TypeScript
Uh oh!
There was an error while loading. Please reload this page.
I'm developing a LanguageService Plugin for a linter that creates fixable Diagnostics. Unfortunately I don't know the codes and if they are fixable before they actually occur.
AFAICT VSCode handles the case where a Diagnostic's code is supposed to be fixable and
getCodeFixes
returns no fix.I'm proposing some kind of wildcard matching or a way to specify that all Diagnostics with a matching
Diagnostic.source
are considered fixable.The text was updated successfully, but these errors were encountered: