Skip to content

Feature request: autocomplete/annotations for annotations(e.g @bs.module etc) #26

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

Closed
BlueHotDog opened this issue Nov 27, 2020 · 3 comments · Fixed by rescript-lang/rescript-editor-support#61

Comments

@BlueHotDog
Copy link
Contributor

One of the hardest thing in ReScript is finding the right magic of annotations. i find myself always looking at other libs and examples. just because there's no logic to it and very little organization(it's all under bs namespace).
One thing that might REALLY help is allowing us to just type
@bs. and have a list of all supported annotations with a helping text as to how to use them, when, and alternatives.

I think this is super important, i know for myself i would be able to write better bindings if some love was invested in this area, and good bindings are sorely missing in the rescript ecosystem.

Awesome v1 release!!! super pumped at the new direction ReScript is going!

@alex35mil
Copy link

@bs prefix is not a thing anymore, it’s kept for backward compat iirc

@BlueHotDog
Copy link
Contributor Author

Right, my comments still stand though, no? how can the editor support building better bindings

@chenglou
Copy link
Member

chenglou commented Dec 5, 2020

Might take some time. In the meantime, we've released a few snippets autocomplete support for @bs.module and such.

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