Skip to content

Commit

Permalink
Merge pull request #1505 from tgodzik/update-metals-version
Browse files Browse the repository at this point in the history
chore: Update Metals to newest version
  • Loading branch information
tgodzik committed May 16, 2024
2 parents 14f6008 + 3c4bd01 commit 59e3c7e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 15 deletions.
11 changes: 5 additions & 6 deletions packages/metals-vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,15 @@ every PR is tested on Ubuntu, Windows and MacOS.

**Scala 2.13, 2.12, 2.11 and Scala 3**. Metals supports these Scala versions:

- **Scala 2.13**: 2.13.13, 2.13.12, 2.13.11, 2.13.10, 2.13.9, 2.13.8, 2.13.7,
2.13.6
- **Scala 2.13**: 2.13.14, 2.13.13, 2.13.12, 2.13.11, 2.13.10, 2.13.9, 2.13.8,
2.13.7

- **Scala 2.12**: 2.12.19, 2.12.18, 2.12.17, 2.12.16, 2.12.15, 2.12.14, 2.12.13,
2.12.12

- **Scala 2.11**: 2.11.12

- **Scala 3**: 3.3.3, 3.3.2, 3.3.1, 3.2.2, 3.2.1, 3.2.0, 3.1.3, 3.1.2, 3.1.1,
3.1.0
- **Scala 3**: 3.3.3, 3.3.2, 3.3.1, 3.2.2, 3.1.3

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
Expand Down Expand Up @@ -172,8 +171,8 @@ If no matching Java found, a JDK will be downloaded using
JDK used for compiling and running the project. Build servers like `mill` and
`sbt` are started using that JDK. In case of `Bloop` Metals's server JDK is used
for running the build server but appropriate `-release` flags are added for
compilation. By default Metals relies on the build server's mechanism for
project's JDK resolution (e.g. `Bloop` - `JAVA_HOME`, `sbt` - java on `PATH`).
compilation. By default Metals uses JDK defined by `JAVA_HOME` environment
variable, if the variable is not set is falls to using the Metals's JDK.

#### Settings:

Expand Down
11 changes: 2 additions & 9 deletions packages/metals-vscode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@
"properties": {
"metals.serverVersion": {
"type": "string",
"default": "1.3.0",
"default": "1.3.1",
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window. \n\n**VS Code extension version is guaranteed to work only with the default version, change if you know what you're doing**"
},
"metals.serverProperties": {
Expand Down Expand Up @@ -389,7 +389,6 @@
"2.13.9",
"2.13.8",
"2.13.7",
"2.13.6",
"2.12.19",
"2.12.18",
"2.12.17",
Expand All @@ -402,14 +401,8 @@
"3.4.0",
"3.3.3",
"3.3.1",
"3.3.0",
"3.2.2",
"3.2.1",
"3.2.0",
"3.1.3",
"3.1.2",
"3.1.1",
"3.1.0"
"3.1.3"
],
"markdownDescription": "The Scala compiler version that is used as the default or fallback in case a file doesn't belong to any build target or the specified Scala version isn't supported by Metals.\n\nThis applies to standalone Scala files, worksheets, and Ammonite scripts.\n\n The `automatic` value means that the Scala version for these files will be inferred from the highest supported Scala version in your projects build definition"
},
Expand Down

0 comments on commit 59e3c7e

Please sign in to comment.