From 23f5831358db8f9b84ca9b84f1ff5ef290344f1a Mon Sep 17 00:00:00 2001 From: tgodzik Date: Mon, 23 Sep 2019 18:44:53 +0200 Subject: [PATCH] Update default Metals version to 0.7.6 --- package.json | 2 +- readme.md | 20 ++++++++++++++++---- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index b81cc6603..e1449075e 100644 --- a/package.json +++ b/package.json @@ -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": { diff --git a/readme.md b/readme.md index 8070ef3e2..844dddddb 100644 --- a/readme.md +++ b/readme.md @@ -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 @@ -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) @@ -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