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
169 stars 16 forks source link

Feature request: Mark selection as reviewed #20

Closed Kriskras99 closed 4 months ago

Kriskras99 commented 5 months ago

When auditing it can be nice to follow the code execution flow. When doing this it is very useful to mark a function or a block of code as reviewed as opposed to the entire file.

fcasal commented 5 months ago

Hi @Kriskras99, yes, this has been a feature we have planned for some time.

To work around this limitation, my workflow is: I create an extra note called "DONE", and if I need to partially mark a function as reviewed, I add the function region to that note with the "weAudit: Add Region to a Finding" command.

Kriskras99 commented 5 months ago

Hi @Kriskras99, yes, this has been a feature we have planned for some time.

To work around this limitation, my workflow is: I create an extra note called "DONE", and if I need to partially mark a function as reviewed, I add the function region to that note with the "weAudit: Add Region to a Finding" command.

That's a good workaround, thanks for the tip!

fcasal commented 4 months ago

Implemented in #21. Check out the readme for a gif of the new feature https://github.com/trailofbits/vscode-weaudit?tab=readme-ov-file#partially-audited-files