bulloak
bulloak copied to clipboard
feature request: automated tree file formatting
Automatically convert from
VS Code has a nice tree generator: Ascii Tree Generator plug in, but even using that can be a bit tedious converting to and from tree syntax. Bulloak doing this conversion for you would be quite nice.
The plugin allows you to use hashtags for tree structures and automatically converts it into the nice tree.
# when there is a condition ## it should revert # when there isn't the condition ## when sender is authorized ### it should update the state
IMO this would be more readable:
HashPairTest
It should never revert.
When first arg is smaller than second arg
It should match the result of `keccak256(abi.encodePacked(a,b))`.
When first arg is bigger than second arg
It should match the result of `keccak256(abi.encodePacked(b,a))`.
than that:
HashPairTest
# It should never revert.
# When first arg is smaller than second arg
## It should match the result of `keccak256(abi.encodePacked(a,b))`.
# When first arg is bigger than second arg
## It should match the result of `keccak256(abi.encodePacked(b,a))`.
Essentially if we could have bulloak tree
working like this, all pain points related to the tree formatting would be gone :sparkles: