scalameta/mdoc

Worksheet mode adds spaces into multiline strings

Ouverte

#722 ouverte le 8 déc. 2022

 (7 commentaires) (0 réaction) (0 personne assignée)Scala (88 forks)github user discovery
buggood first issue

Métriques du dépôt

Stars
 (402 étoiles)
Métriques de merge PR
 (Merge moyen 8h 29m) (11 PRs mergées en 30 j)

Description

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

Guide contributeur