rescript-lang / rescript-lang/rescript-vscode

No hover for library source files.

Open
#963 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

rescript-vscode version: 1.51.4 pre-release
rescript version: 11.0.1
The hover function perform normally in project files, but it doesn't work for library files, and the position of function source jump in the target file is not correct.
See the screen record below.
mnggiflab-compressed-导出GIF部分1
mnggiflab-compressed-导出GIF部分2

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

Start by reproducing the behavior with rescript-vscode 1.51.4 and ReScript 11.0.1, comparing hover and source jumps in project files with library files as shown in the recordings. Done means library files provide hover information and function source jumps land at the correct position.

Written by the indexing model from the issue text.

Assessment

Tech stack
vscode
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 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.