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

CtrlAltVerse

CtrlAltVerse

| (0) | Free
Snippets for PHP, WordPress, Alpine.js and TailwindCSS.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

CtrlAltVerse Extension

Snippets for PHP, WordPress, Alpine.js and TailwindCSS.

Table of Contents

  • CtrlAltVerse Extension
    • Table of Contents
    • Snippets
    • Shortcuts
    • Release Notes
      • 1.0.0

Snippets

Prefix Language Content
table markdown Table
tableAlign markdown Table with alignment options
newTailwind CSS Start Tailwind file
alpineData JS Alpine.data()
closePHP HTML Close PHP
echo HTML Single line echo
esc_html HTML Single line esc_html__ (WP)
ifElsePHP HTML Full PHP if...else
ifOpenPHP HTML Open PHP if
ifPHP HTML Full PHP if
newHTML HTML HTML5 Boilerplate
php HTML Open PHP tag
add_action PHP Action Hook (WP)
add_ajax PHP AJAX action hook (WP)
add_cron PHP Full event scheduler (WP)
add_filter PHP Filter Hook (WP)
add_menu PHP Display menu (WP)
add_shortcode PHP Create Shortcode (WP)
apply_filters PHP Apply filter Hooks (WP)
arrow_fun PHP Arrow function
class_fun PHP Simpler class method
classPHP PHP Class
classRestWP PHP Class for REST Endpoint (WP)
classStaticPHP PHP Class with Method Static
debugHook PHP debug a hook (WP)
do_action PHP Do action hooks (WP)
get_posts PHP get_posts() loop (WP)
require PHP Require or include file
wp_plugin_head PHP Plugin info data (WP)
wp_theme_head PHP Theme info data (WP)

Shortcuts

Keys Action
Alt+Q Insert cursor(s) number

Release Notes

1.0.0

  • Added Snippets
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft