Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Windows WLS : Autocomplete on JSX not working #259

Open
dotgreg opened this issue Nov 21, 2018 · 0 comments
Open

Windows WLS : Autocomplete on JSX not working #259

dotgreg opened this issue Nov 21, 2018 · 0 comments

Comments

@dotgreg
Copy link

dotgreg commented Nov 21, 2018

Thanks first for that great extension and work!

I happen to have a problem on windows. I installed ocamlmerlin using wsl and mostly everything is working as expected. (insight, linting, autocomplete)

Only one thing, that is actually impacting productivity quite a bit when using reason react : the autocomplete seems working fine when using pure reason code, but as soon as I want to include a jsx component, it wont suggest anything.

so if I want to use <Testcomponent onClick={...}/> for example, Im expecting when typing <T having <Testcomponent /> as suggestion, but nothing pops up. (note here that, outside jsx, I can type "Te" and it will suggest me "Testcomponent")

Properties suggestions wont popup neither (if typing <Testcomponent o I would expect onClick as suggestion, but nothing pops up.

Once the component is typed, merlin/bsb recognizes it and gives me the linting I expect, so the problem is only on the autocomplete on jsx part.

 $which ocaml
/home/dotgreg/.opam/4.02.3/bin/ocaml
$which ocamlmerlin
/home/dotgreg/.opam/4.02.3/bin/ocamlmerlin

example of current situation :
1

example of what is expected (from an example in typescript + react) :

2

Thanks for your help and hard work!

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
@dotgreg and others