rescript-lang / rescript-lang/rescript-vscode

No hover type hints within %%private(...)

Open
#563 1 comment 1 reaction 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

I know this is a bit exotic and %%private is weird anyway, but I just came across this:
For anything contained within %%private(...), hover type hints do not work.

E.g.:

%%private(let x = 42)

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 issue in the ReScript VSCode plugin using %%private(let x = 42) and inspect the hover type-hint handling for expressions inside %%private(...). Done means hovering over x displays its type in VSCode, with coverage for this example.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
developer-experience
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.