File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ export async function addServer(
2222 }
2323 return null ;
2424 } ,
25+ ignoreFocusOut : true
2526 } )
2627 . then (
2728 async ( name ) : Promise < string | undefined > => {
@@ -31,6 +32,7 @@ export async function addServer(
3132 validateInput : ( value ) => {
3233 return value . trim ( ) . length ? undefined : "Required" ;
3334 } ,
35+ ignoreFocusOut : true
3436 } ) ;
3537 if ( host ) {
3638 spec . webServer . host = host . trim ( ) ;
@@ -45,15 +47,17 @@ export async function addServer(
4547 ? undefined
4648 : "Required, 1-65535" ;
4749 } ,
50+ ignoreFocusOut : true
4851 } ) ;
4952 if ( portString ) {
5053 spec . webServer . port = + portString ;
5154 const username = await vscode . window . showInputBox ( {
5255 placeHolder :
5356 "Username" ,
5457 prompt :
55- "Leave empty to be prompted when connecting."
56- } ) ;
58+ "Leave empty to be prompted when connecting." ,
59+ ignoreFocusOut : true
60+ } ) ;
5761 if ( typeof username !== 'undefined' ) {
5862 const usernameTrimmed = username . trim ( ) ;
5963 if ( usernameTrimmed !== "" ) {
@@ -64,7 +68,8 @@ export async function addServer(
6468 {
6569 placeHolder :
6670 "Confirm connection type, then definition will be stored in your User Settings. 'Escape' to cancel." ,
67- }
71+ ignoreFocusOut : true
72+ }
6873 ) ;
6974 if ( scheme ) {
7075 spec . webServer . scheme = scheme ;
You can’t perform that action at this time.
0 commit comments