Consensys / vscode-solidity-auditor

Solidity language support and visual security auditor for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=tintinweb.solidity-visual-auditor
GNU General Public License v3.0
569 stars 60 forks source link

Alphabetical order in the top-level contracts sidebar section #54

Closed GNSPS closed 3 years ago

GNSPS commented 4 years ago

Can we have the "Top-level contracts" sidebar section display the results in alphabetical order? 😊

tintinweb commented 4 years ago

@GNSPS alphabetical order for filenames or the full path?

full-path somewhat preserves the folder structure filename does not preserve the folder structure.

/a/b/c/d/xyz.sol
/a/b/c/d/b.sol   
/a/b/c/d/a.sol    //first item
/a/x/c/d/aa.sol  // would be 2nd in filename sort, last in full-path sort
GNSPS commented 4 years ago

I actually meant the file names because there is no way I can search for the files in that section unless they are in some kind of order. And when there are a lot of files it's harder to look for each one.