jaredly / jaredly/reason-language-server

VSCode Formatting seems to strip trailing newline in files

Open
#237 1 comment 7 reactions 0 assignees View on GitHub
Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Using the vscode extension the formatting conflicts with what `refmt.exe` outputs. As `refmt.exe` appends a newline at the end of file whereas this extension does not and in fact strips it away if it exists.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing formatting through the VSCode extension and compare its output with refmt.exe, focusing on whether the final newline is preserved. Done means the extension retains or adds the trailing newline so its formatted output matches refmt.exe.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml, vscode
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.