TemPHPest is an extension for Visual Studio Code to improve writing PHP in VS Code. Created by Liam Hammett, this package adds rich PHP features that will enhance the experience tremendously while writing PHP:
TemPHPest is an extension for VSCode that I’ve been working on to bring nice little tweaks and features to improve working with PHP. Each feature could probably be a separate extension, but being bundled in one is easier for me to maintain and you to install.
TemPHPest Extension Features
* Stubs for file creation
* Auto Renaming
* Code Actions
* Auto Switch to PHP Language
* Auto Interpolate from single quotes to double quotes
* Surround with Snippets
* Explorer file nesting
* REPL as you write
* Date formatting lense
* Smart autocompletion
* Blade Heredoc/Nowdoc syntax highlighting
* And more...
Let's highlight a few features that launched with TemPHPest for VS Code:
Stubs
Creating a PHP file in VS Code gives you an empty file (without PHP tags) out of the box, but TemPHPest uses PSR naming conventions to fill out an empty class/interface/trait/etc, based on the file's name. For example, creating a PHP file in app/Enums will stub out an enum for you with the proper namespace:
0 comments:
Post a Comment
Thanks