Skip to content
Adam B edited this page Apr 14, 2020 · 14 revisions

lsp-mode

It is possible to use the Julia LanguageServer in Emacs using the lsp-mode and the lsp-julia packages. See the README of lsp-julia to get it working. It also might be helpful to look at this discourse post from @ffevotte to get an idea of the capabilities available.

eglot

LanguageServer.jl can be easily used with eglot by installing the eglot-jl package from melpa. It provides:

  • completion via completion-at-point
  • signatures and help at point via eldoc and eglot-help-at-point
  • Variable/function renaming eglot-rename
  • Jump to function definition via xref-find-definitions

Not currently working:

  • Smart refactoring like transforming single-line function into multi-line.
  • Automatic buffer formatting.
  • Linting.
Clone this wiki locally