|
1 | 1 | { |
2 | 2 | "name": "create-reactjs-components", |
3 | 3 | "displayName": "create-reactjs-components", |
4 | | - "description": "Options Menu", |
5 | | - "version": "1.0.1", |
| 4 | + "description": "Create Component/Context Explorer Context", |
| 5 | + "version": "1.1.0", |
6 | 6 | "publisher": "canducci", |
7 | 7 | "icon": "images/logo-three.png", |
8 | 8 | "engines": { |
|
29 | 29 | "onCommand:canducci.arrowFunctionComponentJs", |
30 | 30 | "onCommand:canducci.functionComponentJs", |
31 | 31 | "onCommand:canducci.arrowFunctionComponentJsx", |
32 | | - "onCommand:canducci.functionComponentJsx" |
| 32 | + "onCommand:canducci.functionComponentJsx", |
| 33 | + "onCommand:canducci.createContextArrowFunctionJs", |
| 34 | + "onCommand:canducci.createContextFunctionJs", |
| 35 | + "onCommand:canducci.createContextArrowFunctionJsx", |
| 36 | + "onCommand:canducci.createContextFunctionJsx" |
33 | 37 | ], |
34 | 38 | "main": "./out/extension.js", |
35 | 39 | "contributes": { |
|
42 | 46 | "command": "canducci.functionComponentJs", |
43 | 47 | "title": "React Function Component (js)" |
44 | 48 | }, |
| 49 | + { |
| 50 | + "command": "canducci.createContextArrowFunctionJs", |
| 51 | + "title": "React Arrow Function Context (js)" |
| 52 | + }, |
| 53 | + { |
| 54 | + "command": "canducci.createContextFunctionJs", |
| 55 | + "title": "React Function Context (js)" |
| 56 | + }, |
45 | 57 | { |
46 | 58 | "command": "canducci.arrowFunctionComponentJsx", |
47 | 59 | "title": "React Arrow Function Component (jsx)" |
48 | 60 | }, |
49 | 61 | { |
50 | 62 | "command": "canducci.functionComponentJsx", |
51 | 63 | "title": "React Function Component (jsx)" |
| 64 | + }, |
| 65 | + { |
| 66 | + "command": "canducci.createContextArrowFunctionJsx", |
| 67 | + "title": "React Arrow Function Context (jsx)" |
| 68 | + }, |
| 69 | + { |
| 70 | + "command": "canducci.createContextFunctionJsx", |
| 71 | + "title": "React Function Context (jsx)" |
52 | 72 | } |
53 | 73 | ], |
54 | 74 | "menus": { |
55 | 75 | "explorer/context": [ |
56 | 76 | { |
57 | 77 | "command": "canducci.arrowFunctionComponentJs", |
58 | | - "group": "2_modification", |
| 78 | + "group": "1_modification", |
59 | 79 | "when": "explorerResourceIsFolder" |
60 | 80 | }, |
61 | 81 | { |
62 | 82 | "command": "canducci.functionComponentJs", |
63 | | - "group": "2_modification", |
| 83 | + "group": "1_modification", |
64 | 84 | "when": "explorerResourceIsFolder" |
65 | 85 | }, |
66 | 86 | { |
67 | 87 | "command": "canducci.arrowFunctionComponentJsx", |
68 | | - "group": "2_modification", |
| 88 | + "group": "1_modification", |
69 | 89 | "when": "explorerResourceIsFolder" |
70 | 90 | }, |
71 | 91 | { |
72 | 92 | "command": "canducci.functionComponentJsx", |
| 93 | + "group": "1_modification", |
| 94 | + "when": "explorerResourceIsFolder" |
| 95 | + }, |
| 96 | + { |
| 97 | + "command": "canducci.createContextArrowFunctionJs", |
| 98 | + "group": "2_modification", |
| 99 | + "when": "explorerResourceIsFolder" |
| 100 | + }, |
| 101 | + { |
| 102 | + "command": "canducci.createContextFunctionJs", |
| 103 | + "group": "2_modification", |
| 104 | + "when": "explorerResourceIsFolder" |
| 105 | + }, |
| 106 | + { |
| 107 | + "command": "canducci.createContextArrowFunctionJsx", |
| 108 | + "group": "2_modification", |
| 109 | + "when": "explorerResourceIsFolder" |
| 110 | + }, |
| 111 | + { |
| 112 | + "command": "canducci.createContextFunctionJsx", |
73 | 113 | "group": "2_modification", |
74 | 114 | "when": "explorerResourceIsFolder" |
75 | 115 | } |
|
0 commit comments