Skip to content

Commit

Permalink
reordering advanced options (#18217)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjin authored Oct 16, 2024
1 parent ffeccb1 commit c2825d6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/connectionconfig/connectionDialogWebviewController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,11 +159,11 @@ export class ConnectionDialogWebviewController extends ReactWebviewPanelControll
],
topAdvancedOptions: [
"port",
"connectTimeout",
"applicationName",
// TODO: 'autoDisconnect',
// TODO: 'sslConfiguration',
"applicationName",
"replication",
"connectTimeout",
"multiSubnetFailover",
],
groupedAdvancedOptions: {}, // computed below
};
Expand Down Expand Up @@ -211,6 +211,8 @@ export class ConnectionDialogWebviewController extends ReactWebviewPanelControll
private async loadEmptyConnection() {
const emptyConnection = {
authenticationType: AuthenticationType.SqlLogin,
connectTimeout: 15, // seconds
applicationName: "vscode-mssql",
} as IConnectionDialogProfile;
this.state.connectionProfile = emptyConnection;
}
Expand Down

0 comments on commit c2825d6

Please sign in to comment.