You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/editors/activeConnectionCodeLensProvider.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ export default class ActiveConnectionCodeLensProvider
24
24
this._onDidChangeCodeLenses.fire();
25
25
});
26
26
27
-
this._activeConnectionChangedHandler=()=>{
27
+
this._activeConnectionChangedHandler=(): void=>{
28
28
this._onDidChangeCodeLenses.fire();
29
29
};
30
30
this._connectionController.addEventListener(
@@ -50,10 +50,10 @@ export default class ActiveConnectionCodeLensProvider
50
50
? getDBFromConnectionString(connectionString)
51
51
: null;
52
52
message=defaultDB
53
-
? `Currently connected to ${this._connectionController.getActiveConnectionName()} with default database ${defaultDB}. Click here to change connection.`
54
-
: `Currently connected to ${this._connectionController.getActiveConnectionName()}. Click here to change connection.`;
53
+
? `Connected to ${this._connectionController.getActiveConnectionName()} with default database ${defaultDB}`
54
+
: `Connected to ${this._connectionController.getActiveConnectionName()}`;
55
55
}else{
56
-
message='Disconnected. Click here to connect.';
56
+
message='Connect';
57
57
}
58
58
59
59
codeLens.command={
@@ -65,7 +65,7 @@ export default class ActiveConnectionCodeLensProvider
0 commit comments