Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Extracting constants should use "kind": "refactor.extract.constant" #954

Open
@the-sun-will-rise-tomorrow

Description

Some LSP clients, such as Eglot, understand and bind default actions to specific refactorings, such as extracting constants and functions.

Microsoft documentation references these specific kinds of refactorings here:
https://code.visualstudio.com/docs/editing/refactoring#_keyboard-shortcuts-for-code-actions

Currently, typescript-language-server seems to announce such refactorings as just "kind":"refactor".

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions