forked from madskristensen/JavaScriptPrettier
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathVSCommandTable.vsct
More file actions
50 lines (43 loc) · 2.25 KB
/
VSCommandTable.vsct
File metadata and controls
50 lines (43 loc) · 2.25 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Extern href="stdidcmd.h"/>
<Extern href="vsshlids.h"/>
<Include href="KnownImageIds.vsct"/>
<Commands package="guidPrettierPackage">
<Groups>
<Group guid="guidPrettierPackageCmdSet" id="MyMenuGroup" priority="0x0300">
<Parent guid="guidSHLMainMenu" id="IDM_VS_CTXT_CODEWIN"/>
</Group>
</Groups>
<Buttons>
<Button guid="guidPrettierPackageCmdSet" id="PrettierCommandId" priority="0x0100" type="Button">
<Parent guid="guidPrettierPackageCmdSet" id="MyMenuGroup" />
<Icon guid="ImageCatalogGuid" id="RGSRegistrationScript"/>
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Make Prettier</ButtonText>
</Strings>
</Button>
</Buttons>
</Commands>
<KeyBindings>
<KeyBinding guid="guidPrettierPackageCmdSet" id="PrettierCommandId" mod1="Control" mod2="Control" key1="K" key2="J" editor="TypeScriptEditor"/>
<KeyBinding guid="guidPrettierPackageCmdSet" id="PrettierCommandId" mod1="Control" mod2="Control" key1="K" key2="J" editor="JavaScriptEditor"/>
<KeyBinding guid="guidPrettierPackageCmdSet" id="PrettierCommandId" mod1="Control" mod2="Control" key1="K" key2="J" editor="LegacyJavaScriptEditor"/>
</KeyBindings>
<Symbols>
<GuidSymbol name="guidPrettierPackage" value="{9c23598a-3625-4542-8488-a3777c7dac01}" />
<GuidSymbol name="guidPrettierPackageCmdSet" value="{1adbe5b8-de7d-446c-85d6-c1c121aacff3}">
<IDSymbol name="MyMenuGroup" value="0x1020" />
<IDSymbol name="PrettierCommandId" value="0x0100" />
</GuidSymbol>
<!-- Existing editor guids -->
<GuidSymbol name="TypeScriptEditor" value="{0f2454b1-a556-402d-a7d0-1fde7f99dee0}" />
<GuidSymbol name="JavaScriptEditor" value="{14d17961-fe51-464d-9111-c4af11d7d99a}" />
<GuidSymbol name="LegacyJavaScriptEditor" value="{8B382828-6202-11d1-8870-0000F87579D2}" />
</Symbols>
</CommandTable>