Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Magento SnippetsNew to Visual Studio Code? Get it now.
Magento Snippets

Magento Snippets

Rafael Corrêa Gomes

|
14,717 installs
| (2) | Free
A set of Magento Snippets for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info


Magento Snippets
VS Code - Magento Snippets

A set of Magento Snippets for Visual Studio Code.

Release

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

Form

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft