File tree Expand file tree Collapse file tree
packages/vscode-extension/src/status-bar/new-wireframe Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ export const STATUS_BAR_PRIORITY = 100 ;
2+ export const ITEM_TEXT = '$(lightbulb) Quickmock' ;
3+ export const ITEM_TOOLTIP = 'Create new Quickmock wireframe' ;
4+ export const ITEM_COLOR = '#309a8a' ;
Original file line number Diff line number Diff line change 11import { QUICKMOCK_NEW_WIREFRAME_COMMAND_ID } from '#commands' ;
22import * as vscode from 'vscode' ;
3-
4- const STATUS_BAR_PRIORITY = 100 ;
3+ import {
4+ ITEM_COLOR ,
5+ ITEM_TEXT ,
6+ ITEM_TOOLTIP ,
7+ STATUS_BAR_PRIORITY ,
8+ } from './new-wireframe.consts' ;
59
610export const registerNewWireframeStatusBarItem = (
711 context : vscode . ExtensionContext
@@ -10,9 +14,9 @@ export const registerNewWireframeStatusBarItem = (
1014 vscode . StatusBarAlignment . Left ,
1115 STATUS_BAR_PRIORITY
1216 ) ;
13- item . text = '$(lightbulb) Quickmock' ;
14- item . tooltip = 'Create new Quickmock wireframe' ;
15- item . color = '#309a8a' ;
17+ item . text = ITEM_TEXT ;
18+ item . tooltip = ITEM_TOOLTIP ;
19+ item . color = ITEM_COLOR ;
1620 item . command = QUICKMOCK_NEW_WIREFRAME_COMMAND_ID ;
1721 item . show ( ) ;
1822
You can’t perform that action at this time.
0 commit comments