How can I open a basic PHP block in Visual Studio Code, like so - <?php ?>
?
In Sublime Text I simply type php and press Tab, and the block is created. But I can't find the same shortcut for Visual Studio Code.
You can add a custom user snippet to Visual Studio Code:
Paste the following custom snippet:
"php": {
"prefix": "php",
"body": [ "<?php $1 ?>" ],
"description": "php tag"
}