Skip to content

Commit

Permalink
Merge pull request #146 from tgodzik/update-to-0.7.6
Browse files Browse the repository at this point in the history
Update default Metals version to 0.7.6
  • Loading branch information
tgodzik authored Sep 23, 2019
2 parents a4ae172 + 23f5831 commit 4569d7b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"properties": {
"metals.serverVersion": {
"type": "string",
"default": "0.7.5",
"default": "0.7.6",
"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
20 changes: 16 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ or 11 installation.
on Ubuntu+Windows.

**Scala 2.13, 2.12 and 2.11**. Metals supports these Scala versions 2.13.0,
2.12.8, 2.12.9, 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
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

## Installation

Expand Down Expand Up @@ -214,7 +214,7 @@ without opening the sidebar.
As you type, the symbol outline is also visible at the top of the file.
![Document Symbols Outline](https://i.imgur.com/L217n4q.png)

## Enable onTypeFormatting for multiline string formatting
## Enable on type formatting for multiline string formatting

![pipes](https://i.imgur.com/iXGYOf0.gif)

Expand All @@ -226,6 +226,18 @@ This needs to be done in settings by checking `Editor: Format On Type`:

![on-type](https://i.imgur.com/4eVvSP5.gif)

## Enable formatting on paste for multiline strings

Whenever text is paste into a multiline string with `|` it will be properly
formatted by Metals:

![format-on-paste](https://i.imgur.com/yJLAIxQ.gif)

To enable this feature you need to enable formatting on paste in Visual Studio
Code by checking `Editor: Format On PAste`:

![format-on-paste](https://i.imgur.com/OaBxwer.png)

## Coming from IntelliJ

Install the
Expand Down

0 comments on commit 4569d7b

Please sign in to comment.