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

Add autofills when using Roact.createElement #42

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

JohnnyMorganz
Copy link
Contributor

@JohnnyMorganz JohnnyMorganz commented Jun 28, 2020

This PR provides autofills when using Roact.createElement, or an alias to it (such as defining it as e beforehand)
It autocompletes both Properties and Events (which are converted to [Roact.Event.XXXX]), and provides documentation in the completion items.
It will also autocomplete the first parameter to createElement (and its alias), providing completion items for the Instance name such as Frame or TextLabel (Everything which is available in Instance.new() is included here)

Closes #27

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

Successfully merging this pull request may close these issues.

Autofill properties when using Roact.createElement/an alias to it
2 participants