Metals works with Eclipse thanks to the
Notice Eclipse integration is still under development and might lack some of the features
Java 8 or 11 provided by OpenJDK or Oracle. Eclipse OpenJ9 is not
supported, please make sure the
JAVA_HOME environment variable
points to a valid Java 8 or 11 installation.
macOS, Linux or Windows. Metals is developed on macOS and every PR is tested on Ubuntu+Windows.
Scala 2.13, 2.12 and 2.11. Metals supports these Scala versions 2.13.0, 2.13.1, 2.12.8, 2.12.9, 2.12.10, 2.12.7 and 2.11.12. Note that 2.11.x support is deprecated and it will be removed in future releases. It's recommended to upgrade to Scala 2.12 or Scala 2.13
Installing the plugin
In you eclipse installation go to install new software and point the repository to:
All commands including
Import build can be run currently via browser interface under
http://127.0.0.1:5031/. We recommend having it open to import the build that is required for Metals to work properly.
The Metals server places logs and other files in the
.metals/ directory. The
Bloop compile server places logs and compilation artifacts in the
directory. Bloop plugin that generates Bloop configuration is added in the
project/metals.sbt file. It's recommended to ignore these directories and file
from version control systems like git.
# ~/.gitignore .metals/ .bloop/ project/metals.sbt