Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hover over React component declaration in .resi file does not work #153

Closed
cknitt opened this issue Apr 26, 2021 · 0 comments
Closed

Hover over React component declaration in .resi file does not work #153

cknitt opened this issue Apr 26, 2021 · 0 comments

Comments

@cknitt
Copy link
Member

cknitt commented Apr 26, 2021

If I hover over a React component declaration (make function annotated with @react.component) in a .resi file, no tooltip/type information is shown. For other functions in a .resi, it works fine.

Example .resi:

// No type information on hover
@react.component
let make: unit => React.element

// Works fine
let someOtherFunc: unit => React.element

Within a .res, it does work fine, e.g.:

Bildschirmfoto 2021-04-26 um 19 13 43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant