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"`.