You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I encounter a formatting issue when working with multi-line comments or JSDocs in ReScript using the extension. Each time I format the code, extra new lines are added, leading to inconsistent formatting. This behavior is affecting the readability and aesthetics of my code. Not only that but not being able to have JSDocs formatted correctly makes it harder to document and maintain my code base when working with ReScript.
Steps to Reproduce
Write ReScript code containing multi-line comments or JSDocs.
Format the code using the extension.
Observe the addition of extra spaces in multi-line comments or strings.
Expected Behavior
The extension should format multi-line comments and JSDocs consistently without introducing extra spaces or new lines.
Actual Behavior
Extra lines are added each time the code is formatted, impacting the code's appearance.
Environment
Extension Version: 1.36.0
Formatter: ReScript (official) (Also happens when no code formatter is defined)
Visual Studio Code Version: 1.85.1
Operating System: X64 Windows 10.0.19045
Demonstration of Bug
Figure 1. Before Formatting ReScript code
Figure 2. After Formatting ReScript code once
Figure 3. After Formatting ReScript code twice
The text was updated successfully, but these errors were encountered:
Description
I encounter a formatting issue when working with multi-line comments or JSDocs in ReScript using the extension. Each time I format the code, extra new lines are added, leading to inconsistent formatting. This behavior is affecting the readability and aesthetics of my code. Not only that but not being able to have JSDocs formatted correctly makes it harder to document and maintain my code base when working with ReScript.
Steps to Reproduce
Expected Behavior
The extension should format multi-line comments and JSDocs consistently without introducing extra spaces or new lines.
Actual Behavior
Extra lines are added each time the code is formatted, impacting the code's appearance.
Environment
Demonstration of Bug
Figure 1. Before Formatting ReScript code
Figure 2. After Formatting ReScript code once
Figure 3. After Formatting ReScript code twice
The text was updated successfully, but these errors were encountered: