Closed alesanro closed 5 years ago
Hi @alesanro,
I agree we need a more consistent way for flattening files. I'll look into that, thanks for the input!
a quick update on this matter: I am going to change flaterra for the flattener extension I just published. It is just a vscode integration for truffle-flattener
. Having this as it's own extension allows us to be more flexible in the future (and vscode-auditor
will be able to interface with the flattener extension e.g. to flatten all top level contracts. going to merge this soon). the extension will come bundled with vscode auditor. This should close this issue :)
https://marketplace.visualstudio.com/items?itemName=tintinweb.vscode-solidity-flattener adds a context menu "flatten selected files" to the vscode explorer.
Probably it will be better to use
truffle-flattener
and run flattening command withnpx truffle-flattener inputfile > output
?