|
30 | 30 | "editPresentation": "multilineText", |
31 | 31 | "default": "", |
32 | 32 | "markdownDescription": "`%module%` will be replaced with the module name. \n\n **Do not add comment symbols like `/*` or `*/`, they will be added automatically.** \n\n Separate lines with the newline character `\\n`" |
| 33 | + }, |
| 34 | + "magento-toolbox.xmlFileHeaderComment": { |
| 35 | + "type": "string", |
| 36 | + "editPresentation": "multilineText", |
| 37 | + "default": "", |
| 38 | + "markdownDescription": "`%module%` will be replaced with the module name. \n\n **Do not add comment symbols like `<!--` or `-->`, they will be added automatically.**" |
33 | 39 | } |
34 | 40 | } |
35 | 41 | }, |
|
73 | 79 | "title": "Magento Toolbox: Generate Observer" |
74 | 80 | }, |
75 | 81 | { |
76 | | - "command": "magento-toolbox.dynamicRowExample", |
77 | | - "title": "Magento Toolbox: Dynamic Row Example" |
| 82 | + "command": "magento-toolbox.generateEventsXml", |
| 83 | + "title": "Magento Toolbox: Generate Events XML" |
| 84 | + }, |
| 85 | + { |
| 86 | + "command": "magento-toolbox.generateGraphqlSchemaFile", |
| 87 | + "title": "Magento Toolbox: Generate GraphQL Schema File" |
| 88 | + }, |
| 89 | + { |
| 90 | + "command": "magento-toolbox.generateRoutesXmlFile", |
| 91 | + "title": "Magento Toolbox: Generate Routes XML" |
| 92 | + }, |
| 93 | + { |
| 94 | + "command": "magento-toolbox.generateAclXmlFile", |
| 95 | + "title": "Magento Toolbox: Generate ACL XML" |
| 96 | + }, |
| 97 | + { |
| 98 | + "command": "magento-toolbox.generateDiXmlFile", |
| 99 | + "title": "Magento Toolbox: Generate DI XML" |
78 | 100 | } |
79 | 101 | ], |
80 | 102 | "menus": { |
|
111 | 133 | "command": "magento-toolbox.copyMagentoPath", |
112 | 134 | "title": "Magento Toolbox: Copy Magento Path", |
113 | 135 | "when": "resourceExtname in magento-toolbox.supportedMagentoPathExtensions && resourcePath =~ /view/" |
| 136 | + }, |
| 137 | + { |
| 138 | + "command": "magento-toolbox.generateObserver", |
| 139 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i", |
| 140 | + "arguments": [] |
| 141 | + }, |
| 142 | + { |
| 143 | + "command": "magento-toolbox.generateBlock", |
| 144 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
| 145 | + }, |
| 146 | + { |
| 147 | + "command": "magento-toolbox.generateEventsXml", |
| 148 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
| 149 | + }, |
| 150 | + { |
| 151 | + "command": "magento-toolbox.generateGraphqlSchemaFile", |
| 152 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
| 153 | + }, |
| 154 | + { |
| 155 | + "command": "magento-toolbox.generateRoutesXmlFile", |
| 156 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
| 157 | + }, |
| 158 | + { |
| 159 | + "command": "magento-toolbox.generateAclXmlFile", |
| 160 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
| 161 | + }, |
| 162 | + { |
| 163 | + "command": "magento-toolbox.generateDiXmlFile", |
| 164 | + "when": "resourcePath =~ /app\\/code\\/.+\\/.+/i" |
114 | 165 | } |
115 | 166 | ] |
116 | 167 | } |
|
171 | 222 | "php-parser": "^3.2.2", |
172 | 223 | "react": "^19.0.0", |
173 | 224 | "react-dom": "^19.0.0", |
| 225 | + "slugify": "^1.6.6", |
174 | 226 | "typescript-json-serializer": "^6.0.1", |
175 | 227 | "typescript-memoize": "^1.1.1", |
176 | 228 | "validatorjs": "^3.22.1" |
|
0 commit comments