trailofbits / vscode-weaudit

Create code bookmarks and code highlights with a click.
https://marketplace.visualstudio.com/items?itemName=trailofbits.weaudit
GNU General Public License v3.0
175 stars 17 forks source link

[Feature Request] Add "Mark Selection as Reviewed" instead of full File #45

Closed nisedo closed 1 month ago

nisedo commented 4 months ago

Hi, I started using weAudit recently and it's great!

But for now, only the option of marking an entire file as reviewed is available: weAudit: Mark File as Reviewed.

I'd like to be able to select only a snippet of code (like an entire function) and mark it as reviewed to advance step by step in my audit, especially useful for large files / contracts.

And additionally, if all functions in a file have been marked as reviewed, the extension could detect this and mark the entire file as reviewed automatically.

TheZ3ro commented 2 months ago

This seems to be already available:

https://github.com/trailofbits/vscode-weaudit/pull/21

https://github.com/trailofbits/vscode-weaudit?tab=readme-ov-file#partially-audited-files

fcasal commented 1 month ago

Hi @nisedo, I've just released a new weAudit version with this feature that works as @TheZ3ro mentioned