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

Bulloak VSCode extension #41

Open
PaulRBerg opened this issue Sep 28, 2023 · 2 comments
Open

Bulloak VSCode extension #41

PaulRBerg opened this issue Sep 28, 2023 · 2 comments
Labels
Feat New feature or request

Comments

@PaulRBerg
Copy link
Contributor

PaulRBerg commented Sep 28, 2023

Features:

  • Syntax highlighting for *.tree files better than what is offered by Tree (e.g. different colors for "when" and "given")
  • Parse the tree nodes and check that all start with "when", "given", or "it"
  • Continuously check that the implementation matches the spec (with a setting to turn this behavior on and off)
  • Run scaffold as a command (i.e. via CMD+SHIFT+P) with two options:
    • Run on one file alone
    • Run on entire code base
  • Right-clicking the contents of any *.tree file should contain an option to scaffold

I imagine that this is an idea for the long term and that it may be overkill at the moment.

@alexfertel alexfertel added the Feat New feature or request label Sep 30, 2023
@PraneshASP
Copy link
Contributor

I recently added basic support for scaffolding and .tree files to vscode-solidity-inspector extension. Let me know if you would like this feature to be available as a standalone extension. Any feedback is greatly appreciated! TIA :))

Preview:

Screen.Recording.2023-11-03.at.9.59.05.PM.mov

@alexfertel
Copy link
Owner

alexfertel commented Nov 3, 2023

Ooooh! @PraneshASP, that looks amazing! I'll take a good look tomorrow, but I love what I see!

What were your thoughts when parsing errors? Was it too cumbersome? I would be happy to make them more composable/easier to parse.

EDIT: Ah, I see that parsing the .tree is implemented separately from scaffolding, so you aren't checking the output from bulloak. Nonetheless, that's awesome!

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

No branches or pull requests

3 participants