Skip to content

allow wildcards in getSupportedCodeFixes #28990

Open

Description

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.

Activity

  1. removed their assignment
    on Dec 13, 2018
  2. changed the title [-]typescript: allow wildcards in getSupportedCodeFixes[/-] [+]allow wildcards in getSupportedCodeFixes[/+] on Dec 13, 2018
  3. added
    Suggestion
    In Discussion
    Domain: API
    on Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Domain: APIIn DiscussionSuggestion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions