rescript-lang / rescript-lang/rescript-vscode

Improved parsing of error logs

Open
#770 0 comments 1 reaction 1 assignee View on GitHub

@mununki is already working on this.

Since May 11, 2023.

Dominant language
ReScript
Stars
354
Forks
63
Avg merge
11h 29m
Merged PRs (30d)
1

Description

Related https://github.com/rescript-lang/rescript-compiler/issues/6203

Currently, VSC parses the error logs from /lib/bs/.compiler.log to extract the necessary information for the editor. However, this is a fragile system prone to parsing errors when dealing with corner cases from the compiler. To improve this, the compiler could model the error information into a JSON format for VSC to use.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.