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 11import * as vscode from "vscode" ;
22import { AtelierAPI } from "../api" ;
3+ import { panel } from "../extension" ;
34
45export async function addServerNamespaceToWorkspace ( ) : Promise < void > {
56 const serverManagerApi = await getServerManagerApi ( ) ;
@@ -22,6 +23,9 @@ export async function addServerNamespaceToWorkspace(): Promise<void> {
2223 . serverInfo ( )
2324 . then ( ( data ) => data . result . content . namespaces )
2425 . catch ( ( ) => [ ] ) ;
26+ // Clear the panel entry this created
27+ panel . text = "" ;
28+ panel . tooltip = "" ;
2529 // Prepare a displayable form of its connection spec as a hint to the user
2630 const connSpec = await serverManagerApi . getServerSpec ( serverName ) ;
2731 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