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 setting to run forc build on save #68

Open
sdankel opened this issue Jun 26, 2022 · 2 comments
Open

Add setting to run forc build on save #68

sdankel opened this issue Jun 26, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@sdankel
Copy link
Member

sdankel commented Jun 26, 2022

I think this would be a useful feature. Feedback welcome!

@adlerjohn
Copy link
Contributor

adlerjohn commented Jun 26, 2022

I was under the impression the plugin already did this. Or does it only parse?

If not then this would indeed be nice to have.

@adlerjohn adlerjohn moved this to Todo in Fuel Network Jun 26, 2022
@adlerjohn adlerjohn added the enhancement New feature or request label Jun 26, 2022
@JoshuaBatty
Copy link
Member

We can add this feature pretty easily. Currently, we are calling forc check on every edit which compiles the program to an AST but doesn't go further in the compilation phase than that.

This feature could be a checkbox under the sway plugin settings, I feel like it should be disabled by default though and a user should opt in if they want.

@sdankel sdankel removed their assignment Nov 27, 2023
@sdankel sdankel added the good first issue Good for newcomers label Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

3 participants