Skip to content

Commit c30ddd4

Browse files
author
Crystal Tenn
committed
Add ignoreFocusOut to variable as well
1 parent 87e5a41 commit c30ddd4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/commands/variables/addVariable.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,15 +11,17 @@ export function registerAddVariable(context: vscode.ExtensionContext) {
1111

1212
const name = await vscode.window.showInputBox({
1313
prompt: "Enter name for new variable",
14-
placeHolder: "Variable name"
14+
placeHolder: "Variable name",
15+
ignoreFocusOut: true
1516
});
1617

1718
if (!name) {
1819
return;
1920
}
2021

2122
const value = await vscode.window.showInputBox({
22-
prompt: "Enter the new variable value"
23+
prompt: "Enter the new variable value",
24+
ignoreFocusOut: true
2325
});
2426

2527
if (!value) {

0 commit comments

Comments
 (0)