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

feat(server): support code action #1723

Merged
merged 1 commit into from
Aug 4, 2022

Commits on Aug 4, 2022

  1. feat(server): support code action

    In ts service, the
    `codeFixes`([getCodeFixesAtPosition](https://github.com/microsoft/TypeScript/blob/7584e6aad6b21f7334562bfd9d8c3c80aafed064/src/services/services.ts#L2689))
    and
    refactors([getApplicableRefactors](https://github.com/microsoft/TypeScript/blob/7584e6aad6b21f7334562bfd9d8c3c80aafed064/src/services/services.ts#L2699))
    are resolved in different request. But in LSP they are resolved in the `CodeAction` request.
    Now, this PR only handles the `codeFixes` because the `@angular/language-service` only supports it.
    ivanwonder committed Aug 4, 2022
    Configuration menu
    Copy the full SHA
    1674a30 View commit details
    Browse the repository at this point in the history