This extensions provides toggle command for PHP tags in VSCode.
Command:
php-toggle.toggleTags
- Cycles through tags
<?php ?>and<?= ?> - Multiline support
- Works in
php,html.php
MacOS: Command+Shift+/
Windows & Linux: Ctrl+Shift+/
To customize keyboard shortcuts:
{
"command": "php-toggle.toggleTags",
"key": "ctrl+shift+/",
"when": "editorTextFocus && editorLangId =~ /php/"
},
Inspired by @kirillplatonov plugin vscode-erb-toggle.
This extension is licensed under the MIT License.