专为 Laravel 定制的 Visual Studio Code 编码环境
Hi Artisan, I using Laravel from version 4.1 until version 5.4 and I believe Laravel still become popular framework for PHP. It offers many features for faster developing web and Api and for version 5.3 support VueJs for frontend development. You have many Magics / Weapons in there ?
I already trying many editors like sublime, phpstrom (i used before vs code), atom and the latest visual studio code. every editor have advantage but first time i trying visual studio code, my impression it awesome and cool with built in Git, Debug (we try later) and also have many support extensions ??
Lets setup Vscode Environment for Laravel
install extensions below :
Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.
HTML in Visual Studio Code.
The extension uses the ESLint library installed in the opened workspace folder. If the folder doesn't provide one the extension looks for a global install version. If you haven't installed ESLint either locally or globally do so by running
npm install eslint in the workspace folder for a local install or
npm install -g eslint for a global install
This extension supports running npm scripts defined in the
package.json file and validating the installed modules against the dependencies defined in the
Laravel blade snippets and syntax highlight support for Visual Studio Code.
This extension is a debug adapter between VS Code and XDebug by Derick Rethan. XDebug is a PHP extension (a
.sofile on Linux and a
.dll on Windows) that needs to be installed on your server.
Crane is a productivity enhancement extension for Visual Studio Code that provides code-completion for PHP. It has zero dependencies and largely works with projects of any size. It is still in development, and as such there may be bugs and/or missing features.
View Git History with graph, View the details of a commit, such as author name, email, date, committer name, email, date and comments.
View a previous copy of the file or compare it against the local workspace version or a previous version, View the changes to the active line in the editor (Git Blame).