#Intellij-IDEA-F2E
IntelliJ IDEA, PHPStrom, WebStorm 前端开发指南.
常规文本编辑器之于IDE(集成开发环境), 好比 Markdown 之于 HTML
Markdown 杀鸡嗷嗷叫, 但做网站必须得 HTML
这件事情告诉我们, 高帅富配白富美, 屌丝配右手
最适合你的编辑器,就是世界上最好的编辑器
切莫活在别人的世界里
##初次接触 下面是屌丝问的最多的问题
###编辑器选择 配置较差的同学推荐 PHPStrom , 因为前端开发的同学基本都会玩点 PHP, 所以不推荐 WebStorm
对于配置好,气质佳的同学,墙裂推荐 Intellij IDEA Ultimate, 功能全面,更新最快,性能最好,吃内存相对多
社区免费版阉割的略微有点过...自重
###因特里基友QQ群(F2E) 149725975 (CSS, HTML, JavaScript, PHP Intellij IDE, PHPStorm, WebStorm)QQ群人多,严禁跑题,违者T
247648963 (Java, Intellij IDEA)此群比较水,大猫不懂java非群主,自己把持
###序列号 注册机在群共享里有.
所有大版本序列号都是通用的
等你脚的 Intellij IDEA 帮你赚钱了,记得购买正版授权,或者传递 Love 给身边的同学
###编辑器界面
Settings > Appearance > Look and Feel
,
黑色的到 Intellij IDEA 12 才有,叫 Darcula
###配色 妹纸到手,第一步就是扒光
Intellij IDEA 的配色是 xml 或 jar 文件
xml:
- for Mac OS, ~/Library/Preferences/IntelliJIDEA10CE/colors/
- for Linux, ~/.IntelliJIDEA10CE/config/colors/
- for Windows, C:\Documents and Settings\user.IntelliJIDEA10CE\config\colors
jar: File > Import Settings
比较常用的有 intellij-colors-solarized , Twilight
比较全面的有 Idea Color Schemes
###字体
Settings > Editor > Colors & Fonts > Font
因为没法 GUI 界面中英文分开设置,简单的方法就是安装 Yahei Consolas hybrid 字体(群共享有)
字号我这里 17px 英文相对清晰,你可以根据预览来微调
建议 Settings > Editor > Colors & Fonts > HTML
点击预览窗口里的粗体去掉 Bold ,否则满屏粗体很压抑
###性能优化
- 使用最新版
- 关闭不认识的插件
- Project 下的文件不要太多,否则会有大量的 I/O
- 关掉版本控制(svn git 啥的)
- 升级硬件, SSD 神马的
###教程
- PHP 支持
- 配置 Project
- Local History
- Live Template
- Task
- File Path
- Surround / unwrap
- Appearance
- WebStorm 使用外部工具
- Yabo(鸭脖) - CSS 压缩合并工具
- 实现 remote host 远程开发
- WebStorm:令人眼前一亮的一款前端开发IDE
此文档由 Intellij IDEA Markdown 插件编辑 && Github 插件提交,欢迎补充