We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d06828 commit 56636e2Copy full SHA for 56636e2
src/explorer/models/nodeBase.ts
@@ -32,6 +32,10 @@ export class NodeBase {
32
this.extraNode = extraNode;
33
}
34
35
+ public get connInfo(): string {
36
+ return `${this.conn.host}:${this.conn.port}[${this.namespace}]`;
37
+ }
38
+
39
public getTreeItem(): vscode.TreeItem {
40
return {
41
collapsibleState: vscode.TreeItemCollapsibleState.None,
src/explorer/models/workspaceNode.ts
@@ -18,7 +18,7 @@ export class WorkspaceNode extends NodeBase {
18
19
collapsibleState: vscode.TreeItemCollapsibleState.Expanded,
20
contextValue: `${this.uniqueId}${this.options.generated ? ":generated:" : ""}`,
21
- label: `${this.label}[${this.namespace}]`,
+ label: `${this.label}(${this.connInfo})`,
22
};
23
24
0 commit comments