scalameta/mdoc

Worksheet mode adds spaces into multiline strings

开放

#722 创建于 2022年12月8日

 (7 条评论) (0 个反应) (0 位负责人)Scala (89 个派生)github user discovery
buggood first issue

仓库指标

星标
 (402 个星标)
PR 合并指标
 (平均合并 8小时 29分钟) (30 天内合并 11 个 PR)

描述

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

贡献者指南