sublimelsp / LSP-rust-analyzer

Convenience package for rust-analyzer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle method `experimental/moveItem`

thomaseizinger opened this issue · comments

Is your feature request related to a problem? Please describe.

I am using Sublime-LSP with rust-analyzer.
RA has several "experimental" commands. For example, item movers: rust-lang/rust-analyzer#8054

Is there a way for defining a shortcut to execute such an experimental command and have things just work?

Describe the solution you'd like

Being able to configure shortcuts for using RA's item movers command.

Describe alternatives you've considered

n/a

Additional context

n/a

This looks like the Hover Actions thing described here: https://github.com/rust-analyzer/rust-analyzer/blob/master/docs/dev/lsp-extensions.md#hover-actions-1

As with all such custom requests it requires (perhaps considerable) glue code for every client out there. So I'll move this to LSP-rust-analyzer.