|
|
|
|
|
by G3rn0ti
1023 days ago
|
|
> for the ... Raku devs it does not appear that finding references So the Raku server has a deficiency, currently. Too bad. But in Emacs you can work around that by writing into your config file: (remove-hook 'xref-backend-functions #'lsp--xref-backend t)
if you use "lsp-mode.el" or equivalently (remove-hook 'xref-backend-functions 'eglot-xref-backend t)
if you happen to use "eglot.el". (There are two major language server clients available for Emacs.)This will not turn off "finding references" completely because Emacs happens to have a default backend called "etags-xref-backend" based on a reverse index file. You can easily generate that in your project directory using a shell tool shipped with Emacs or even execute that automatically from inside a git commit hook. So Emacs can stand in until Raku's language server is fixed. So ... while you would be in trouble with a commercial editor now, you can continue hacking happily thanks to Emacs' flexibility. |
|