home.social

#lspmode — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #lspmode, aggregated by home.social.

  1. Spent the morning replacing lsp-mode with Eglot due to slop code in the former.

    Seems to have gone smoothly, I'm really enjoying the snappiness of it, using lsp-mode by comparison is like wading through molasses.

    Am using the following:

    * java-language-server as the LSP language server, which is blazingly fast
    * company-mode for completions
    * breadcrumb-mode for headerbar navigation

    Things I'm missing still (suggestions welcome!):

    * auto-import (this may be a limitation of the LSP impl?)
    * a context menu for jumping to declarations at point
    * flymake error/warning/info summary in dired mode

    #Emacs #Eglot #LspMode #Java

  2. Seems like lsp-mode is accepting slop contributions. Time to jump ship to eglot.

    #emacs #lspmode

  3. Delighted to find that Emacs' `lsp-mode` package already has support for the Python type-checker `ty` (it was merged back in May github.com/emacs-lsp/lsp-mode/). If you've got it installed in your virtual environment then it may well "Just Work(tm)" out of the box when you next open a file in your project (it did for me).

    Emacs and its users, package developers, contributors never ceases to amaze and please me.

    #emacs #lsp #lspmode

  4. getting rather fed up of `lsp-mode`continually offering to install `copilot-lsp` for me whenever I open a buffer for which there isn't a language server.

    I found the thread

    github.com/emacs-lsp/lsp-mode/

    ..and have set `lsp-copilot-applicable-fn` to the recommended `lambda`function and `lsp-copilot-enabled` is set to `0` but still I get asked!.

    Very annoying.

    #emacs #lspmode

  5. Hey #emacs people, is #eglot superior to #lspmode? Not too familiar with eglot, I use lspmode in Doom and I find it relativelly slow compared to vim lsp implementations. Is eglot faster?

  6. @pkw #Eglot and #lspmode are #LSP clients for #Emacs, use either or. Eglot is built-into Emacs 29 and upwards and is meant to integrate with existing Emacs utilities, LSP-mode has some more bells and whistles. I found I don't need those and use Eglot. As the language server I use #pylsp, which by default uses the #jedi Python package for completion. You don't need a jedi-specific Emacs package anymore if you use LSP, but still should install the Python package.

  7. @pkw #Eglot and #lspmode are #LSP clients for #Emacs, use either or. Eglot is built-into Emacs 29 and upwards and is meant to integrate with existing Emacs utilities, LSP-mode has some more bells and whistles. I found I don't need those and use Eglot. As the language server I use #pylsp, which by default uses the #jedi Python package for completion. You don't need a jedi-specific Emacs package anymore if you use LSP, but still should install the Python package.

  8. @pkw #Eglot and #lspmode are #LSP clients for #Emacs, use either or. Eglot is built-into Emacs 29 and upwards and is meant to integrate with existing Emacs utilities, LSP-mode has some more bells and whistles. I found I don't need those and use Eglot. As the language server I use #pylsp, which by default uses the #jedi Python package for completion. You don't need a jedi-specific Emacs package anymore if you use LSP, but still should install the Python package.

  9. @pkw #Eglot and #lspmode are #LSP clients for #Emacs, use either or. Eglot is built-into Emacs 29 and upwards and is meant to integrate with existing Emacs utilities, LSP-mode has some more bells and whistles. I found I don't need those and use Eglot. As the language server I use #pylsp, which by default uses the #jedi Python package for completion. You don't need a jedi-specific Emacs package anymore if you use LSP, but still should install the Python package.

  10. @pkw #Eglot and #lspmode are #LSP clients for #Emacs, use either or. Eglot is built-into Emacs 29 and upwards and is meant to integrate with existing Emacs utilities, LSP-mode has some more bells and whistles. I found I don't need those and use Eglot. As the language server I use #pylsp, which by default uses the #jedi Python package for completion. You don't need a jedi-specific Emacs package anymore if you use LSP, but still should install the Python package.

  11. #emacs: was really enjoying using built in #eglot, but after many paper cuts got to go back to #lspmode. Eglot has a lot going for it, but for my dayjob language (#golang) lsp-mode is a way smoother experience.

  12. Show me your cool @[email protected] config.el and I’ll send you a sticker!

    Bonus points for awesome #orgmode and #lspmode hooks

    Stickers thanks to @[email protected]