return practice() ? '1 week' : 'never';
Laracasts - Be Awesome in PHPStorm (2014)
Notes
|
Dec 26, 2015
- 01 Hello
- Install: PhpStorm Early Access Program
- 02 Minimalism
IDE theme
: Darcula
Editor colors and fonts
: Darcula
⌘ + 1
: 打开/隐藏侧边栏
⌘ + Shift + A
: Find Action
View: Status Bar
: 隐藏状态栏
View: Navigation Bar
: 隐藏导航栏
Show breadcrumb
: 隐藏面包屑
Tabs Placement: None
: 隐藏 Tabs
- 03 Color IDE
- 04 Two Important Keybindings
⌘ + P
: Navgate -> File...
文件跳转
⌘ + R
: Navgate -> File Structure
方法跳转
- 05 Create New Files Quickly
- 06 Custom File Templates
- 07 Live Templates
⌘ + E
: 打开的文件之间跳转
⌥ + ↑
: 扩大选择范围
save live template
: 添加当前选中的内容为代码片段
- 08 Custom Formatting
Reformat Code...
: 格式化
⌥ + ⌘ + L
: 格式化当前文件
https://github.com/deringer/phpstorm-laravel-code-style
- 09 Refactoring Name and Method
- 10 Refactoring Pull Up
- 11 Refactoring Extract Interface
- 12 Refactoring Extract and Inline Variable
- 13 Fast Composition
- 14 Navigating to Sass Symbols
- 15 PHPStorm’s Laravel Facades Issue
- 16 Multiple Cursors
- 17 Splits
- 18 Vi-Mode With Mappings
- Install Plugin
IdeaVim
~/.ideavimrc
配置文件
- 19 Xdebug
- 20 Xdebug and Laravel
- 21 Composer Dependencies and PHPStorm
- 22 Testing in PHPStorm
- 23 Code Coverage