jaredly / jaredly/reason-language-server

Goto defintion goes to module only not function or binding

Open
#243 5 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

In a current project when using reprocessing, the plugin fails to go to the specific module function eg `Draw.fill(..)` instead just goes to the Draw module.
This is also the same in inbuilt modules

eg `Array.make_matrix` only goes to array.mli

(Sorry if this is a known limitation rather than a bug. )

Repo here
https://github.com/yunti/reason-twenty48

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue in the linked reason-twenty48 project using go-to-definition on Draw.fill and Array.make_matrix. Trace the language server's go-to-definition handling for module functions and bindings; done means each reference opens the specific function or binding declaration rather than only the module interface.

Written by the indexing model from the issue text.

Assessment

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