VS Code - Magento Snippets
A set of Magento Snippets for Visual Studio Code.
Available Snippets
URL's Functions
| Trigger |
Description |
| getBaseUrl |
Store URL |
| getSkinUrl |
Skin folder URL |
| getUrl |
Simple get URL |
Blocks
| Trigger |
Description |
| getChildHtml |
Get a block XML |
| getCmsBlock |
Get admin static block by ID |
| getMessagesBlock |
Get message block |
Store
| Trigger |
Description |
| getStoreConfig |
Get Store Config |
| Trigger |
Description |
| getFormActionUrl |
Get the default form action |
| getPostActionUrl |
Get post action URL |
Helpers
| Trigger |
Description |
| getHelper |
Get a specific Helper |
| getTranslation |
Get string translate |
Product View
| Trigger |
Description |
| formatPriceCurrency |
Get formatted price |
| getAttrText |
Get attribute by name |
| getProducType |
Get product type |
| getProducId |
Get product ID |
Source
Github
License
Copyright (c) All rights reserved.
Rafael Corrêa Gomes - MIT license.
| |