Skip to content

Commit

Permalink
Add tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-bsaviano committed Jan 23, 2024
1 parent ad8659a commit a0eb1a9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/providers/ObjectScriptCodeLensProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ export class ObjectScriptCodeLensProvider implements vscode.CodeLensProvider {
cmd = {
title: "Open Graphical Editor",
command: "vscode-objectscript.openPathInBrowser",
tooltip: "Open graphical editor in an external browser",
arguments: [
`/csp/${api.config.ns.toLowerCase()}/EnsPortal.${
xdataName == "BPL" ? `BPLEditor.zen?BP=${className}.BPL` : `DTLEditor.zen?DT=${className}.DTL`
Expand All @@ -77,13 +78,15 @@ export class ObjectScriptCodeLensProvider implements vscode.CodeLensProvider {
};
} else if (xdataName == "RuleDefinition" && superclasses.includes("Ens.Rule.Definition")) {
cmd = {
title: "Re-Open in Graphical Editor",
title: "Reopen in Graphical Editor",
command: "workbench.action.toggleEditorType",
tooltip: "Replace text editor with graphical editor",
};
} else if (xdataName == "KPI" && superclasses.includes("%DeepSee.KPI")) {
cmd = {
title: "Test KPI",
command: "vscode-objectscript.openPathInBrowser",
tooltip: "Open testing page in an external browser",
arguments: [`/csp/${api.config.ns.toLowerCase()}/${className}.cls`, document.uri],
};
}
Expand Down

0 comments on commit a0eb1a9

Please sign in to comment.