jaredly / jaredly/reason-language-server

Show OCaml type signatures in .ml files

Open
#265 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
OCaml
Stars
649
Forks
85
PR merge metrics
No merged PRs in 30d

Description

Hi,

CodeLens/Hover shows reasonml type signatures while editing .ml files. I couldn't find any option within the plugin to change it.

![2019-04-05-192233_3840x1080_scrot](https://user-images.githubusercontent.com/48800015/55632812-ab4ccb80-57d8-11e9-91f6-6404f4a65bf9.png)

This behavior can be seen in the above screenshot with `make` function showing a reasonml signature in both the codelens above it and in the hover dialog.

Contributor guide

No contributing guide indexed for this repository

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 an .ml file and inspect the language server's CodeLens and Hover entry points, as identified in the report. Trace how the make function's type signature is selected and verify that both displays use an OCaml signature rather than a ReasonML signature.

Written by the indexing model from the issue text.

Assessment

Tech stack
ocaml
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.