Skip to content

Commit a0eb1a9

Browse files
committed
Add tooltips
1 parent ad8659a commit a0eb1a9

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/providers/ObjectScriptCodeLensProvider.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ export class ObjectScriptCodeLensProvider implements vscode.CodeLensProvider {
6868
cmd = {
6969
title: "Open Graphical Editor",
7070
command: "vscode-objectscript.openPathInBrowser",
71+
tooltip: "Open graphical editor in an external browser",
7172
arguments: [
7273
`/csp/${api.config.ns.toLowerCase()}/EnsPortal.${
7374
xdataName == "BPL" ? `BPLEditor.zen?BP=${className}.BPL` : `DTLEditor.zen?DT=${className}.DTL`
@@ -77,13 +78,15 @@ export class ObjectScriptCodeLensProvider implements vscode.CodeLensProvider {
7778
};
7879
} else if (xdataName == "RuleDefinition" && superclasses.includes("Ens.Rule.Definition")) {
7980
cmd = {
80-
title: "Re-Open in Graphical Editor",
81+
title: "Reopen in Graphical Editor",
8182
command: "workbench.action.toggleEditorType",
83+
tooltip: "Replace text editor with graphical editor",
8284
};
8385
} else if (xdataName == "KPI" && superclasses.includes("%DeepSee.KPI")) {
8486
cmd = {
8587
title: "Test KPI",
8688
command: "vscode-objectscript.openPathInBrowser",
89+
tooltip: "Open testing page in an external browser",
8790
arguments: [`/csp/${api.config.ns.toLowerCase()}/${className}.cls`, document.uri],
8891
};
8992
}

0 commit comments

Comments
 (0)