rescript-lang / rescript-lang/rescript-vscode

Problems go away when file is saved

Open
#582 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Just started learning ReScript and using VS Code for it.

I noticed that

  • if I open a file with problems I see the squiggly lines and the problems described in the Problems pane, but they go away when I save
  • The problems re-appear when I close and open the file again
  • While editing a file and creating problems, they show for like .5s before disappearing when saving the file after editing

I don't know if this is a known bug, or a clash with some other plugin, or something else I've missed in setting things up?

Happens with the release version of the plugin as well as the v1.7.12 pre-release.

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.

Research direction

Reproduce the report in VS Code with both the release plugin and v1.7.12 pre-release, checking diagnostics before and after saving and reopening the file. The report names no files, tests, or entry points; done means determining why diagnostics disappear after saving and verifying that they remain available during editing.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.