Skip to content

Commit

Permalink
Make the "Add Finding/Note Title" input boxes ignore focus out (#61)
Browse files Browse the repository at this point in the history
* feat: Make "Add Finding Title" input box ignore focus out

* version: bump to version 1.2.2
  • Loading branch information
Vasco-jofra authored Oct 25, 2024
1 parent 71c4267 commit 4386cea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "weaudit",
"displayName": "weAudit",
"description": "Bookmark findings and quickly navigate to areas of interest in the codebase",
"version": "1.2.1",
"version": "1.2.2",
"publisher": "trailofbits",
"author": "Trail of Bits",
"categories": [],
Expand Down
2 changes: 1 addition & 1 deletion src/codeMarker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2934,7 +2934,7 @@ export class CodeMarker implements vscode.TreeDataProvider<TreeEntry> {
// otherwise, add it to the tree entries
// create title depending on the entry type
const inputBoxTitle = entryType === EntryType.Finding ? "Add Finding Title" : "Add Note Title";
const title = await vscode.window.showInputBox({ title: inputBoxTitle });
const title = await vscode.window.showInputBox({ title: inputBoxTitle, ignoreFocusOut: true });
if (title === undefined) {
return;
}
Expand Down

0 comments on commit 4386cea

Please sign in to comment.