nvimdev / lspsaga.nvim

improve neovim lsp experience

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not showing typescript refactoring actions like extract to function

carlos-algms opened this issue · comments

Describe the bug

Running:

:'<,'>Lspsaga code_action

Only shows Move to a new file code action
image
Either by running it as a command, or as a keybinding.

While the native vim.lsp.buf.code_action shows all the possible options:

image

Steps to reproduce

  1. Open a TypeScript file
  2. Select any line with V
  3. Run: :'<,'>Lspsaga code_action or any keybinding you have like: <leader>ca

Expected behavior

the floating window should show all the Lsp options

Neovim version (nvim -v)

0.9.6

lspsaga commit

2198c07

Terminal name/version

Kitty