:lang scala
Java, but good
1. Description
1.1. Maintainers
This module has no dedicated maintainers. Become a maintainer?
1.2. Module flags
- +lsp
- Enable LSP support for
scala-mode
. Requires :tools lsp and a langserver (supports Metals).
1.3. Packages
1.4. Hacks
No hacks documented for this module.
2. Prerequisites
2.1. Coursier
Unless you’re running Arch Linux, Coursier is required to install Metals.
2.1.1. Ubuntu / Debian / Fedora
2.1.2. macOS
2.2. Metals
2.2.1. Ubuntu / Debian / Fedora / MacOS
Note: Update following command to latest version of metals found here.
3. Usage
This module’s usage documentation is incomplete. Complete it?
According to https://scalameta.org/metals/docs/editors/overview.html it adds
- Goto Definition
- Completions
- Hover
- Paremeter Hints
- Find References
- Run/Debug
- Find Implementations
- Rename Symbol
- Code Actions
- Document Symbols
- Formatting
- Folding
- Organize Imports
3.1. Notes
- Projects are required to have scala version 2.11.12, 2.12.8, 2.13.0 or greater.
- Latest version of sbt is recommended.
- Running
M-x lsp-metals-doctor-run
helps diagnose problems. - Full reference here: https://scalameta.org/metals/docs/editors/emacs.html
4. TODO Configuration
This module has no configuration documentation yet. Write some?
5. Troubleshooting
There are no known problems with this module. Report one?
6. TODO Appendix
This module has no appendix yet. Write one?