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: Add a search bar for findings and notes #28

Closed n0kto closed 4 months ago

n0kto commented 5 months ago

Hi, It could be really useful to add a "find/search bar" for notes and findings.

fcasal commented 5 months ago

Hi @n0kto, this is already possible! If you press cmd+f on the List of Findings view, you will get a search bar that you can use to type your string. Then, you can use the Filter button to filter the results!

search_bar

n0kto commented 5 months ago

It only works when you have a blank space below the notes (won’t happen often). Try to fill the box with notes and do cmd + F.

fcasal commented 5 months ago

This still works in that case if one of the items is selected, for example: search_bar_full

You can also call the weAudit: Focus on List of Findings View and then press cmd+f. I can make a weAudit command that opens this search bar by doing these two actions in succession.

Vasco-jofra commented 5 months ago

Can we also add a note on how to do this in the README? I wasn't aware that this was possible, and it's an awesome feature

n0kto commented 5 months ago

On VS Codium 1.82.2, it didn’t work, but on the latest version, all is working ! Thank you for your help!

fcasal commented 5 months ago

@Vasco-jofra , yes I have the gif ready for when I add the weAudit: Search and Filter Findings command