Skip to content

LanguageService Plugin cannot intercept 'getSupportedCodeFixes' #28966

Closed
@ajafff

Description

@ajafff

TypeScript Version: 3.3.0-dev.20181208

Search Terms:

getSupportedCodeFixes

Expected behavior:

GetSupportedCodeFixes calls LanguageService#getSupportedCodeFixes. LS plugins can intercept this call and add their own error codes for code fixes.

Actual behavior:

GetSupportedCodeFixes (indirectly) calls codefix.getSupportedErrorCodes() completely bypassing the LanguageService

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptBugA bug in TypeScriptDomain: TSServerIssues related to the TSServerEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions