diff --git a/src/filesystems/local/LocalLanguageActions.ts b/src/filesystems/local/LocalLanguageActions.ts index 20a54772a..a9d1b9b47 100644 --- a/src/filesystems/local/LocalLanguageActions.ts +++ b/src/filesystems/local/LocalLanguageActions.ts @@ -165,7 +165,7 @@ export const LocalLanguageActions: Record = { "extensions": [ `GLOBAL` ], - "name": `Build all`, + "name": `Build all with gmake`, "command": `/QOpenSys/pkgs/bin/gmake BUILDLIB=&CURLIB ERR=*EVENTF`, environment: `pase`, deployFirst: true, @@ -174,18 +174,18 @@ export const LocalLanguageActions: Record = { "extensions": [ `GLOBAL` ], - "name": `Build current`, + "name": `Build current with gmake`, "command": `/QOpenSys/pkgs/bin/gmake &BASENAME BUILDLIB=&CURLIB ERR=*EVENTF`, environment: `pase`, deployFirst: true, } ], - "ibmi-bob": [ + "The Object Builder for i (TOBi)": [ { "extensions": [ `GLOBAL` ], - "name": `Build all`, + "name": `Build all with TOBi`, "command": `OPT=*EVENTF BUILDLIB=&CURLIB /QOpenSys/pkgs/bin/makei build`, environment: `pase`, deployFirst: true, @@ -198,7 +198,7 @@ export const LocalLanguageActions: Record = { "extensions": [ `GLOBAL` ], - "name": `Build current`, + "name": `Build current with TOBi`, "command": `OPT=*EVENTF BUILDLIB=&CURLIB /QOpenSys/pkgs/bin/makei compile -f &BASENAME`, environment: `pase`, deployFirst: true, diff --git a/src/ui/actions.ts b/src/ui/actions.ts index 12f1728e2..3f7c8c722 100644 --- a/src/ui/actions.ts +++ b/src/ui/actions.ts @@ -207,14 +207,14 @@ export async function runAction(instance: Instance, uris: vscode.Uri | vscode.Ur const parent = path.parse(pathData.dir).base; let name = pathData.name; - // Logic to handle second extension, caused by bob. - const bobTypes = [`.PGM`, `.SRVPGM`]; + // Logic to handle second extension, caused by TOBi. + const tobiTypes = [`.PGM`, `.SRVPGM`]; const secondName = path.parse(name); - if (secondName.ext && bobTypes.includes(secondName.ext.toUpperCase())) { + if (secondName.ext && tobiTypes.includes(secondName.ext.toUpperCase())) { name = secondName.name; } - // Remove bob text convention + // Remove TOBi text convention if (name.includes(`-`)) { name = name.substring(0, name.indexOf(`-`)); }