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

allow wildcards in getSupportedCodeFixes #28990

Open
ajafff opened this issue Dec 12, 2018 · 0 comments
Open

allow wildcards in getSupportedCodeFixes #28990

ajafff opened this issue Dec 12, 2018 · 0 comments
Labels
API Relates to the public API for TypeScript In Discussion Not yet reached consensus Suggestion An idea for TypeScript

Comments

@ajafff
Copy link
Contributor

ajafff commented Dec 12, 2018

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.

@mjbvz mjbvz transferred this issue from microsoft/vscode Dec 13, 2018
@mjbvz mjbvz removed their assignment Dec 13, 2018
@ajafff ajafff changed the title typescript: allow wildcards in getSupportedCodeFixes allow wildcards in getSupportedCodeFixes Dec 13, 2018
@weswigham weswigham added Suggestion An idea for TypeScript In Discussion Not yet reached consensus API Relates to the public API for TypeScript labels Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the public API for TypeScript In Discussion Not yet reached consensus Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

3 participants