首页 技术 正文
技术 2022年11月14日
0 收藏 360 点赞 4,945 浏览 5241 个字

![](http://oqefp0r4y.bkt.clouddn.com/editor_index.png)

### 说明
1. 走一波配置流,莫等闲,高效快速开发,从自己的常用的工具开始
2. 寻找舒适的工作方式,仅仅是一个开始

### **[PhpStorm](https://www.jetbrains.com/phpstorm/)**

* **插件推荐**

1. 之前一篇文章已经提到过–>[PhpStorm简单用法心得](https://www.reallyli.xin/2017/05/19/phpstorm.html)
2. 还有一款插件也不错,设置自己舒适的编辑习惯[EditorConfig](http://editorconfig.org)

![](http://oqefp0r4y.bkt.clouddn.com/phpstorm_editorconfig.png)

* **主题推荐**

1. 那么这里推荐必备主题–>[material-theme](https://github.com/equinusocio/material-theme),如下图调整适当的Line spacing、Size、Primary font可以定制自己喜欢的style,搭配插件[Color IDE](https://github.com/dmalch/ColorIde)同步Sidebar背景样式和主题一致,“Command + Shift + A“轻松搜索、或者尝试“ctrl+` “都可以快速切换你想要的主题

![](http://oqefp0r4y.bkt.clouddn.com/phpstorm_material_dowload.png)

![](http://oqefp0r4y.bkt.clouddn.com/phpstorm_material_way.png)

![](http://oqefp0r4y.bkt.clouddn.com/phpstorm_material_shift.png)

![](http://oqefp0r4y.bkt.clouddn.com/phpstorm_material_theme.png)

2. 还有一款主题[Monokai](http://www.phpstorm-themes.com/theme/monokai)一直在sublime等编辑器中相当受青睐

### **[Atom](https://atom.io/)**

* **插件推荐**

1. 第一首要推荐的当属[platformio-atom-ide-terminal](https://github.com/platformio/platformio-atom-ide-terminal), “shift-cmd-T“调起ide-terminal,这时候会默认进入当前项目文件夹,在开发Laravel项目的时候方便配合使用artisan和php命令行。更多的配色方案和快捷键使用可进入packages-setting中查看。

![](http://oqefp0r4y.bkt.clouddn.com/atom-ide.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_ide_search.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_ide_keybind.png)

2. 格式化代码样式插件[atom-beautify](https://github.com/Glavin001/atom-beautify)一直排在插件下载榜单的前列,其原因当属支持多种语言的代码beautify,“ctrl-alt-b“一键格式化,或者如下图进入packages-setting中启用Beautify On Save,每次保存代码时即可格式化。

![](http://oqefp0r4y.bkt.clouddn.com/atom-beat-html.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom-beat-keybind.png)

3. 想在Atom中使用git命令,快速diff文件改动,以及提交当前代码,强烈推荐[git-plus](https://github.com/akonwi/git-plus),配置好本地的Git Path,进入packages-setting中查看快捷键便体验你的“git for atom“,“ command+shift+p “ 快速搜索diff、log等git相关变动跟踪文件的修改情况,心动不如行动,立即体验一把!

![](http://oqefp0r4y.bkt.clouddn.com/atom_gitplus_index.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_gitplus_diff.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_gitplus_log.png)

4. 文件目录图标的插件也让人眼前一亮–>[File Icons](https://github.com/file-icons/atom),想resize你的图标,进入Open Config Folder找到对应的文件夹,定制你想要的style,“Cmd/Ctrl + Shift + P“搜索File Icons然后Clear Cache!

![](http://oqefp0r4y.bkt.clouddn.com/atom_setting_fileicon.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_fileicon.png)

5. php开发必不可少的插件–>[php-cs-fixer](https://atom.io/packages/php-cs-fixer),当然在[php-the-right-way](https://laravel-china.github.io/php-the-right-way/)也介绍过使用[PHP编码标准修复器](http://cs.sensiolabs.org/),可以让你预览编码不合格的部分,“php-cs-fixer fix -v –level=psr2 file.php“,此插件在Atom中的具体设置需要本地安装的php路径以及php-cs-fixer路径,也可在配置项中配置你想校验的规则。如下图发现错误情况会显示在窗口右上角。启用Execute on save配置项可预览编码是否合格的情况,现在你就搭上这款插件开始调试吧!

![](http://oqefp0r4y.bkt.clouddn.com/atom_cs_fixer.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_csfixer_error.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_csfixer_rule.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_csfixer_save.png)

* **主题推荐**

1. 我这里依然热衷于–>[atom-material-ui](https://github.com/atom-material/atom-material-ui)–>[material-ui](https://github.com/leo/material-ui)其独特的风格以及画面感十足一直霸占在主题排行榜的前列。进入对应的配置项可修改其color。

![](http://oqefp0r4y.bkt.clouddn.com/atom_theme_material.png)

![](http://oqefp0r4y.bkt.clouddn.com/atom_theme_setting.png)

### [Sublime](https://packagecontrol.io/)
* **插件推荐**

1. 又是php开发必不可少的插件[sublime-phpcs](https://github.com/benmatselby/sublime-phpcs), “command+shift+p“搜索Package找到phpcs安装即可,具体需要配置“”phpcs_php_path”, “phpcs_executable_path”, “phpmd_executable_path” and “php_cs_fixer_executable_path”“等相关路径,如果想要修改规则,进入Default Setting中搜索“additional_args“定制合理规范,复制到当前插件的User-Setting中reload即可。

![](http://oqefp0r4y.bkt.clouddn.com/sublime_phpcs_setting.png)

![](http://oqefp0r4y.bkt.clouddn.com/sublime_phpcs_showsetting.png)

![](http://oqefp0r4y.bkt.clouddn.com/sublime_phpcs_error.png)

* **主题推荐**

1. 以我的习惯,还是常常使用[Materialize](https://github.com/equinusocio/material-theme),打开Setting配置项可加入“”theme”: “Material One Dark.sublime-theme”“一项同步Sidebar样式与当前主题保持一致。

![](http://oqefp0r4y.bkt.clouddn.com/sublime_theme_setting.png)
### [iTerm2](https://www.iterm2.com/)
* **配置插件推荐**

1. 搭载最新的[Oh My Zsh](http://ohmyz.sh/)神器,随意切换各种你想要的主题样式,配置文件在“cat ~/.zshrc“,修改主题配置–>“ZSH_THEME=”robbyrussell”“,想要查阅各种主题–>[External-themes](https://github.com/robbyrussell/oh-my-zsh/wiki/External-themes),本地主题目录在“~/.oh-my-zsh/themes“,个人目前使用的是“zeta“,速度搭载配置体验一把吧!

![](http://oqefp0r4y.bkt.clouddn.com/iterm2_zsh_setting.png)

2. 想要在iTerm2中实时预览当前版本控制目录的代码提交记录可安装–>[tig](https://github.com/jonas/tig/blob/master/INSTALL.adoc),选中提交记录行然后“enter“弹出窗口显示diff浏览记录

![](http://oqefp0r4y.bkt.clouddn.com/iterm2_tig_index.png)

3. 想要在iTerm2中cat某个文件时高亮显示代码可安装–>[ccat](https://github.com/jingweno/ccat)

![](http://oqefp0r4y.bkt.clouddn.com/iterm2_ccat_show.png)

4. 想要在iterm2中记录提示之前敲过的命令,并下次提示在命令行中时请安装–>[zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions),初始化配置项可在“~/.zshrc“中添加“source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh“即可开始体验!详情可看–>[Installing zsh-autosuggestions](https://asciinema.org/a/37390)

* **==主题推荐==**

1. 可以直接[Dowload material-theme](https://github.com/mbadolato/iTerm2-Color-Schemes#material),我自己使用的material配色方案,在原有的基础上稍微做一下修改,随意定制你想要的颜色。

![](http://oqefp0r4y.bkt.clouddn.com/iterm2_theme_setting.png)

相关推荐
python开发_常用的python模块及安装方法
adodb:我们领导推荐的数据库连接组件bsddb3:BerkeleyDB的连接组件Cheetah-1.0:我比较喜欢这个版本的cheeta…
日期:2022-11-24 点赞:878 阅读:9,110
Educational Codeforces Round 11 C. Hard Process 二分
C. Hard Process题目连接:http://www.codeforces.com/contest/660/problem/CDes…
日期:2022-11-24 点赞:807 阅读:5,584
下载Ubuntn 17.04 内核源代码
zengkefu@server1:/usr/src$ uname -aLinux server1 4.10.0-19-generic #21…
日期:2022-11-24 点赞:569 阅读:6,431
可用Active Desktop Calendar V7.86 注册码序列号
可用Active Desktop Calendar V7.86 注册码序列号Name: www.greendown.cn Code: &nb…
日期:2022-11-24 点赞:733 阅读:6,202
Android调用系统相机、自定义相机、处理大图片
Android调用系统相机和自定义相机实例本博文主要是介绍了android上使用相机进行拍照并显示的两种方式,并且由于涉及到要把拍到的照片显…
日期:2022-11-24 点赞:512 阅读:7,837
Struts的使用
一、Struts2的获取  Struts的官方网站为:http://struts.apache.org/  下载完Struts2的jar包,…
日期:2022-11-24 点赞:671 阅读:4,920