scalameta/mdoc

Worksheet mode adds spaces into multiline strings

オープン

#722 opened on 2022/12/08

 (7 件のコメント) (0 件のリアクション) (0 人の担当者)Scala (89 件のフォーク)github user discovery
buggood first issue

Repository metrics

Stars
 (402 個のスター)
PR merge metrics
 (平均マージ 8h 29m) (30d で 11 merged PRs)

説明

Describe the bug

The worksheet seems to tabulate the inside of multi-line strings, resulting in unexpected spaces

  1. Metals: Create Worksheet
  2. Write
val s = """
""".length
  1. Worksheet adds comment: // : Int = 5

Expected behavior

Should not add extra characters inside multiline strings

The example should add the comment //: Int = 1

Operating system

Windows

Editor/Extension

VS Code

Version of Metals

0.11.9 ?

Extra context or search terms

No response

コントリビューターガイド