Skip to content

Commit 3c3cea9

Browse files
authored
Show menu options from correct namespace for Studio Actions in ObjectScript Explorer (#812)
1 parent 756f27e commit 3c3cea9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/commands/studio.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ class StudioActions {
7575
this.api = new AtelierAPI(uri);
7676
} else if (uriOrNode) {
7777
const node: NodeBase = uriOrNode;
78-
this.api = new AtelierAPI();
78+
this.api = new AtelierAPI(node.workspaceFolder);
79+
this.api.setNamespace(node.namespace);
7980
this.name = node instanceof PackageNode ? node.fullName + ".PKG" : node.fullName;
8081
} else {
8182
this.api = new AtelierAPI();

0 commit comments

Comments
 (0)