nvimdev / lspsaga.nvim

improve neovim lsp experience
MIT License
3.41k stars 287 forks source link

Not showing typescript refactoring actions like extract to function #1391

Open carlos-algms opened 6 months ago

carlos-algms commented 6 months ago

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