File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change 1
1
import * as vscode from "vscode" ;
2
2
import { AtelierAPI } from "../api" ;
3
+ import { panel } from "../extension" ;
3
4
4
5
export async function addServerNamespaceToWorkspace ( ) : Promise < void > {
5
6
const serverManagerApi = await getServerManagerApi ( ) ;
@@ -22,6 +23,9 @@ export async function addServerNamespaceToWorkspace(): Promise<void> {
22
23
. serverInfo ( )
23
24
. then ( ( data ) => data . result . content . namespaces )
24
25
. catch ( ( ) => [ ] ) ;
26
+ // Clear the panel entry this created
27
+ panel . text = "" ;
28
+ panel . tooltip = "" ;
25
29
// Prepare a displayable form of its connection spec as a hint to the user
26
30
const connSpec = await serverManagerApi . getServerSpec ( serverName ) ;
27
31
const connDisplayString = `${ connSpec . webServer . scheme } ://${ connSpec . webServer . host } :${ connSpec . webServer . port } /${ connSpec . webServer . pathPrefix } ` ;
You can’t perform that action at this time.
0 commit comments