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

Magento 2 Snippets

Rafael Corrêa Gomes

|
9,039 installs
| (1) | Free
A set of Magento 2 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 2 Snippets
VS Code - Magento 2 Snippets

A set of Magento 2 Snippets for Visual Studio Code.

Release

Available Snippets

Basic Functions

Trigger Description
getBaseUrl URL of your store

Blocks

Trigger Description
getBlockHtml Get specific block html

Helpers

Trigger Description
getHelper Get a specific Helper

XML

Trigger Description
getPhtmlBlock Get PHTML

Source

Github

License

This Visual Studio Code extension is open-source software licensed under the MIT license.

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