专为 Laravel 定制的 Visual Studio Code 编码环境

file

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 ??

file

Lets setup Vscode Environment for Laravel

install extensions below :

Auto Close Tag

Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.

file

 Beautify

Beautify javascriptJSONCSSSass, and HTML in Visual Studio Code.

 Better Merge

Better visual merge conflict support for Visual Studio Code, insired by merge-conflicts for Atom.

file

 Debugger For Chrome

A VS Code extension to debug your JavaScript code in the Google Chrome browser, or other targets that support the Chrome Debugging Protocol.

file

 Eslint

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 runningnpm install eslint in the workspace folder for a local install or npm install -g eslint for a global install

 Npm

This extension supports running npm scripts defined in the package.json file and validating the installed modules against the dependencies defined in the package.json.

file

 Laravel Blade Snippets

Laravel blade snippets and syntax highlight support for Visual Studio Code.

 PHP Debug

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.

 PHP Intellisense Crane

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.

file

 Git History

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).

file

I used Dracula for theme and icon using Material Icon Theme and now trying debug in laravel using Vscode and running well ?


Practice makes perfect.

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
讨论数量: 3

分类好像错了 在招聘分类下

7个月前
pigzzz

Material Icon Theme和Dracula的链接反了

7个月前
Summer

@木乃伊会跳舞 尴尬了 哈哈

7个月前

请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!