lspsaga.nvim icon indicating copy to clipboard operation
lspsaga.nvim copied to clipboard

Not showing typescript refactoring actions like extract to function

Open carlos-algms opened this issue 1 year ago • 1 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

carlos-algms avatar Feb 07 '24 13:02 carlos-algms

Hi, any idea if this is possible to fix? Both, typescript-tools and vtsls code actions aren't shown. Thanks.

carlos-algms avatar Jan 15 '25 13:01 carlos-algms