Skip to content

Commit 5682854

Browse files
committed
Added more contextual constants
1 parent 026f335 commit 5682854

1 file changed

Lines changed: 17 additions & 3 deletions

File tree

src/util/constants.ts

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,21 @@ export const constants: IConstants = {
5454
};
5555

5656
export const enum PIcon {
57-
ALERT = ' $(alert) ',
58-
CHECK = ' $(check) ',
59-
HEART = ' $(heart) ',
57+
Alert = ' $(alert) ',
58+
Check = ' $(check) ',
59+
Heart = ' $(heart) ',
60+
}
61+
62+
export const enum VSBuiltInCommands {
63+
OpenSettings = 'workbench.action.openSettings',
64+
SetContext = 'setContext',
65+
}
66+
67+
export const enum Contexts {
68+
NavTreeViewEnabled = 'gcode:navTree:enabled',
69+
}
70+
71+
export const enum GlobalState {
72+
PreviousVersion = 'gcode:previousVersion',
73+
Version = 'gcode:version',
6074
}

0 commit comments

Comments
 (0)