Skip to content

Commit

Permalink
Merge pull request #827 from tgodzik/update-0.11.1
Browse files Browse the repository at this point in the history
Update Metals version to 0.11.1
  • Loading branch information
tgodzik committed Jan 17, 2022
2 parents 01134f5 + d5d0c84 commit bc16b69
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 5 deletions.
28 changes: 28 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -485,6 +485,34 @@ can configure this shortcut:
}
```

## Test Explorer

Metals 0.11.0 implements Visual Studio Code's
[Testing API](https://code.visualstudio.com/api/extension-guides/testing).

Test Explorer UI is a new default way to run/debug test suites and replaces Code
Lenses. The new UI adds a testing view, which shows all test suites declared in
project's modules. From this panel it's possible to

- view all discovered test suites grouped by build targets (modules) and filter
them
- run/debug test
- navigate to test's definition.

![test-explorer](https://i.imgur.com/Z3VtS0O.gif)

Work on Test Explorer is still on progress and feature has known limitations:

- at the very beginning not all tests may be discovered. Triggering compilation
(modify and save file) should solve issue.
- single test cases can't be discovered and run (coming soon)
- detecting suites in cross projects is inconsistent, see
[this issue](https://github.com/scalameta/metals/issues/3503).
- Features on JVM may work differently than on JS and Native platforms.

If you encounter an error, create an
[issue](https://github.com/scalameta/metals/issues).

## Coming from IntelliJ

Install the
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@
"properties": {
"metals.serverVersion": {
"type": "string",
"default": "0.11.0",
"default": "0.11.1",
"markdownDescription": "The version of the Metals server artifact. Requires reloading the window.\n\n**Change only if you know what you're doing**"
},
"metals.serverProperties": {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2956,10 +2956,10 @@ merge2@^1.3.0:
resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae"
integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==

metals-languageclient@0.5.6:
version "0.5.6"
resolved "https://registry.yarnpkg.com/metals-languageclient/-/metals-languageclient-0.5.6.tgz#7d9432fcc4cdedfb838a97e4f8ec599b8513a3c8"
integrity sha512-Sp9cX7++6lc8N+1E4N+nkueuGVwCs0hxVsVfwT1YZbXtanuvQ/Z5XLY8KmAfDCceGxwPZWIyAvP7HzMAGPQV4Q==
metals-languageclient@0.5.7:
version "0.5.7"
resolved "https://registry.yarnpkg.com/metals-languageclient/-/metals-languageclient-0.5.7.tgz#7e9de3bae2d8d888e6c4fab6d283d59ea26e2566"
integrity sha512-7y/OqTIu5xskWXFJ7/jyoQGxOQ3veEdEbpKowsYyiGXZdOkO0ywRB3Fn9vvb48+/Ufl+cAM1vGQvsFspxs1SIA==
dependencies:
"@viperproject/locate-java-home" "^1.1.5"
fp-ts "^2.4.1"
Expand Down

0 comments on commit bc16b69

Please sign in to comment.