Language Server Protocol support with multiples languages support for Emacs Client for Language Server Protocol (v3.14). lsp-mode aims to provide IDE-like experience by providing optional integration with the most popular Emacs packages like company, flycheck and projectile. Non-blocking asynchronous calls Real-time Diagnostics/linting via flycheck (recommended) or flymake when Emacs > 26 (requires flymake>=1.0.5) Code completion - company-capf / completion-at-point (note that company-lsp is no longer supported). Hovers - using lsp-ui Code actions - via lsp-execute-code-action, modeline (recommended) or lsp-ui sideline. Code outline - using builtin imenu or helm-imenu Code navigation - using builtin xref, lsp-treemacs tree views or lsp-ui peek functions. Code lens Symbol highlights Formatting Project errors on modeline Debugger - dap-mode Breadcrumb on headerline Helm integration - helm-lsp Ivy integration - lsp-ivy Treemacs integration - lsp-treemacs Semantic tokens as defined by LSP 3.16 (compatible language servers include recent development builds of clangd and rust-analyzer) which-key integration for better discovery iedit
Perhaps gnu-emacs@gentoo.org is interested to maintain this pkg?
This would best be maintained by someone who actively uses it.
Language server protocol seems to be the new standard when it comes to programming language development support. Not having this support in the main tree for emacs means that for software development users will (have to) turn to alternatives like vscode.
I have a copy in my graaff overlay. I can add that to the main tree.
(In reply to Hans de Graaff from comment #4) > I have a copy in my graaff overlay. I can add that to the main tree. Thanks, will you add lsp-ui at the same time ?
(In reply to Joakim Tjernlund from comment #5) > (In reply to Hans de Graaff from comment #4) > > I have a copy in my graaff overlay. I can add that to the main tree. > > Thanks, will you add lsp-ui at the same time ? Not at the same time :-) It looks like that depends on flycheck without advertising the dependency, and for flycheck I have a git snapshot in my overlay and there hasn't been a release in several years, so I want to consider how to handle that. Input welcome.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bd92420253959af1727a12540709b6d5bf05e8 commit 21bd92420253959af1727a12540709b6d5bf05e8 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-11-04 05:42:51 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-11-04 05:54:21 +0000 app-emacs/lsp-mode: import of 8.0.0 Closes: https://bugs.gentoo.org/770142 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org> app-emacs/lsp-mode/Manifest | 1 + app-emacs/lsp-mode/files/50lsp-mode-gentoo.el | 35 ++++++++++++++++++++++++ app-emacs/lsp-mode/lsp-mode-8.0.0.ebuild | 39 +++++++++++++++++++++++++++ app-emacs/lsp-mode/metadata.xml | 12 +++++++++ 4 files changed, 87 insertions(+)
(In reply to Hans de Graaff from comment #6) > (In reply to Joakim Tjernlund from comment #5) > > (In reply to Hans de Graaff from comment #4) > > > I have a copy in my graaff overlay. I can add that to the main tree. > > > > Thanks, will you add lsp-ui at the same time ? > > Not at the same time :-) > > It looks like that depends on flycheck without advertising the dependency, > and for flycheck I have a git snapshot in my overlay and there hasn't been a > release in several years, so I want to consider how to handle that. Input > welcome. I see a app-emacs/flycheck-32_p20210825 already in main tree. Will that work?
(In reply to Joakim Tjernlund from comment #8) > I see a app-emacs/flycheck-32_p20210825 already in main tree. Will that work? Ah, I completely missed that someone else added that. Thanks!
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43f8b1105253627231a299638712be3d3c58f723 commit 43f8b1105253627231a299638712be3d3c58f723 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2021-11-09 06:36:30 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2021-11-09 06:36:38 +0000 app-emacs/lsp-ui: import of 8.0.0 Closes: https://bugs.gentoo.org/770142 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Hans de Graaff <graaff@gentoo.org> app-emacs/lsp-ui/Manifest | 1 + app-emacs/lsp-ui/files/50lsp-ui-gentoo.el | 5 +++++ app-emacs/lsp-ui/lsp-ui-8.0.0.ebuild | 32 +++++++++++++++++++++++++++++++ app-emacs/lsp-ui/metadata.xml | 12 ++++++++++++ 4 files changed, 50 insertions(+)