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

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.

《L02 从零构建论坛系统》
以构建论坛项目 LaraBBS 为线索,展开对 Laravel 框架的全面学习。应用程序架构思路贴近 Laravel 框架的设计哲学。
《L04 微信小程序从零到发布》
从小程序个人账户申请开始,带你一步步进行开发一个微信小程序,直到提交微信控制台上线发布。
讨论数量: 3

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

1个月前
doobi

Material Icon Theme和Dracula的链接反了

1个月前
Summer

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

1个月前

  • 请注意单词拼写,以及中英文排版,参考此页
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`, 更多语法请见这里 Markdown 语法
  • 支持表情,使用方法请见 Emoji 自动补全来咯,可用的 Emoji 请见 :metal: :point_right: Emoji 列表 :star: :sparkles:
  • 上传图片, 支持拖拽和剪切板黏贴上传, 格式限制 - jpg, png, gif
  • 发布框支持本地存储功能,会在内容变更时保存,「提交」按钮点击时清空
  请勿发布不友善或者负能量的内容。与人为善,比聪明更重要!