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.
"objectscript.serverSourceControl.disableOtherActionTriggers": true
1 parent dec3d35 commit 019a39dCopy full SHA for 019a39d
src/commands/studio.ts
@@ -106,6 +106,13 @@ export class StudioActions {
106
107
/** Fire UserAction `id` on server `api` for project `name`. */
108
public async fireProjectUserAction(api: AtelierAPI, name: string, id: OtherStudioAction): Promise<void> {
109
+ const scope = api.wsOrFile instanceof vscode.Uri ? api.wsOrFile : this.uri;
110
+ if (
111
+ vscode.workspace.getConfiguration("objectscript.serverSourceControl", scope)?.get("disableOtherActionTriggers")
112
+ ) {
113
+ this.projectEditAnswer = "1";
114
+ return;
115
+ }
116
this.api = api;
117
this.name = `${name}.PRJ`;
118
return this.userAction(
0 commit comments