IntelliJ IDEA 14.x 快捷键/个性化设置
常用快捷键设置(设置成跟Eclipse差不多)
按照路径:File -> Settings -> Appearance & Behavior -> Keymap -> Copy 一份 Eclipse,命名为 Eclipse_blog.snsgou.com
快捷键 | 功能 | 路径 |
Ctrl + / | 双斜杠注释 | Main menu -> Code -> Comment width Line Comment |
Ctrl + Shilft + / | 块注释 | Main menu -> Code -> Comment width Block Comment |
Alt + / | 代码提示 | Main menu -> Code -> Completion -> Basic |
Ctrl + I | 格式化代码 | Main menu -> Code -> Reformat Code |
Ctrl + D | 删除当前行 | Editor Actions -> Delete Line |
Ctrl + E | 最近打开的文件列表 | Main menu -> View -> Recent Files |
Ctrl + W | 关闭正在编辑的活动窗口。 | Main menu -> Window -> Editor Tabs -> Close |
Ctrl + F | 搜索、替换 | Main menu -> Edit -> Find -> Replace |
Ctrl + H | 高级查找 | Main menu -> Edit -> Find -> Find in Path |
Ctrl + L | 定位到指定行 | Main menu -> Navigate -> Line |
Ctrl + Alt + PageDown Ctrl + Alt + PageUp |
复制当前行到下(上)一行中。比Ctrl+C单纯的复制功能要方便好用(省掉了粘贴步骤),主要是用在编写代码时,需要移动代码的地方。 | Editor Actions -> Duplicate Lines |
Alt + ↓ Alt + ↑ |
移动单行(多行)代码。也是比Ctrl+C更好的快捷键。 | Main menu -> Code -> Move Statement Down
Main menu -> Code -> Move Statement Up |
Ctrl + Shift + R | 根据文件名(模糊查询)快速定位文件(任何类型) | Main menu -> Navigate -> File |
Ctrl + Shift + U | 大小写转换 | Main menu -> Edit -> Toggle Case |
F1 | 查看文档 | Main menu -> View -> Quick Documentation |
F2 | 重命名 | Main menu -> Refactor -> Rename |
Ctrl + I | 格式化代码 | Main menu -> Code -> Reformat Code |
弱弱的补充说明一下:
新买了一台 ThinkPad E440,尽管关闭/禁用了 屏幕的快捷键 Ctrl + Alt + ↓,但是在 InterlliJ IDEA中这组快捷键还是不能用,没办法,最后换成了新的组合键 Ctrl + Alt + PageDown 。
2、File -> Settings -> Appearance & Behavior
(1).-> Appearance -> Theme -> 下拉选择 Alloy.IDEA Theme
(2).-> Appearance -> 勾选 Orerride default fonts by(not recommended):
Name: 微软雅黑 Size:12 Line spacing: 1.2
(3).-> Appearance -> Window Options -> 去掉勾选 Animate windows,勾选 Show tool window bars
(4).-> Appearance -> Presentation Mode -> Font size: 24
(5).-> Menus and Toolbars -> Main Toolbar -> 把 Synchronize 移到 Redo 的后面
(6).-> Menus and Toolbars -> Main Toolbar -> Rmove 掉 Help Topics
(7).-> System Settings -> Startup/Shutdown -> 去掉勾选 Reopen last project on startup,去掉勾选 Confirm application exit
(8).-> System Settings -> Project Opening -> 勾选 Open project in the same window
(9).-> System Settings -> Synchronization -> 全部勾选,并且 Save files automatically if application is idle for 3 sec.
(10).-> System Settings -> Updates -> 去掉勾选 Check for updates in channel
(11).-> System Settings -> Usage Statistics -> 去掉勾选 Allow sending usange statistics to JetBrains s.r.o.
3、File -> Settings -> Editor
(1).-> General -> Mouse -> 勾选 Change font size (Zoom) with Ctrl + Mouse Wheel
(2).-> General -> Virtual Space -> 勾选 Show virtual spaces at file bottom
(3).-> General -> Scrolling -> 去掉勾选 Smooth scrolling
(4).-> General -> Other -> Srip trailing spaces on Save,下拉选择 All
(5).-> General -> Smart Keys -> 去掉勾选 Backspace smart indent
(6).-> General -> Smart Keys -> 去掉勾选 Reformat block on typing '}'
(7).-> General -> Smart Keys -> Reformat on paster: 选择 None
(8).-> General -> Appearance -> 勾选 Show line numbers
(9).-> General -> Appearance -> 勾选 Show whitespaces
(10).-> General -> Editor Tabs -> Tab Closing Policy -> Tab limit: 20
(11).-> General -> Code Folding -> 去掉勾选 One-line methods
(12).-> General -> Code Completion -> Case sensitive completion -> 下拉选择 None 【去除自动补全时,大小写敏感】
(13).-> General -> Code Completion -> 勾选 Autopopup documentation in (ms): 200
(14).-> General -> Code Completion -> Parameter Info -> 勾选 Autopopup in (ms): 200
(15).-> Inspections -> 下拉框选择“Default” -> Spelling -> Typo -> Options ->【关闭单词拼写检查】
去掉勾选 (a)Process code (b)Procss literals (c)Process comments
(16).-> Colors & Fonts -> Scheme name -> Copy 一份 Default,并命名为 blog.snsgou.com
(17).-> Colors & Fonts -> Font -> Editor Font -> Primary font: Courier New,Size: 14,Line spacing: 1.0
(18).代码块颜色主要参考了 Eclipse,并做了些小修改
-> Colors & Fonts -> Font
-> Colors & Fonts -> Font -> General
-> Colors & Fonts -> Font -> Language Defaults
-> Colors & Fonts -> Font -> Java
-> Colors & Fonts -> Font -> Java -> JavaDoc tag value【代码样本中根本没有这货!把我害苦了,找了好久】 -> Foreground: #3F55BF
4、File -> Other Settings -> Default Settings -> Build, Execution, Deployment
(1).->Compiler -> 勾选 Make profect automatically【自动编译】
5、禁用一些(不想用的)插件
File -> Settings -> Plugins -> 去掉勾选:
Git Integration
GitHub
CVS Integration
TFS Integration
Flash/Flex Support
Google App Engine Integration
IDEtalk
ASP
Cloud Foundry integration
CloudBees integration
6、最后记得备份一下“个性化设置”:
File -> Export Settings
注意事项:
在主菜单 File下面,有个奇怪的 Power Save Mode,顾名思义是 省电模式。当你勾选此模式以后,IntelliJ不会给你完成任何自动完成的功能,例如本来你输入一个字符会自动提示的,勾选以后就没有了,如果出现此问题的话可以考虑是不是自己手贱点过这个按钮噢,这个还是比较适合开会的时候无聊看代码用的,又省电又不影响你看代码。
其他 推荐文章:
IntelliJ IDEA 14.x 快捷键/个性化设置的更多相关文章
- MAC Intellij IDEA 经常使用快捷键(本人亲自測试过)
MAC Intellij IDEA 经常使用快捷键 keymap 设置 MAC OS X 10.5+ alt+f7查找变量方法使用的地方 F3加入书签 Ctrl + O快捷覆写方法 Alt + F3 ...
- IntelliJ IDEA 常用快捷键,maven依赖图,个性化设置,禁用Search Everywhere
查看idea 中jar关系图 快捷键: Ctrl+/ 用于注释,取消注释 Ctrl+Shift+F 全文搜索 Ctrl+F 单页面查找 Ctrl+Alt+Shift+L 格式化代码 ======== ...
- Intellij IDEA 基础设置,个性化设置,好用的设置→_→
Intellij IDEA 个性化设置 Appearance & Behavior 外观和行为 Keymap 快捷键 Editor 编辑器设置 Plugins 插件 Version Contr ...
- 动手个性化设置自己的 IntelliJ IDEA
前言 IDEA 是一个智能开发工具,每个开发者的使用习惯不同,如何个性化自己的IDEA? 我们可以通过 Settings 功能来设置. Settings文件是 IDEA 的配置文件,通过它可以设置主题 ...
- PhpStorm 8.x/9.x 快捷键设置/个性化设置,如何多项目共存?如何更换主题?
1."自定义"常用快捷键(设置成跟Eclipse差不多) 按照路径:File -> Settings -> Appearance & Behavior -> ...
- Ubuntu 14 中,SecureCRT、SecureFX个性化设置
[SecureCRT 个性化设置] 打开设置路径:菜单栏 -> Opions -> Global Options -> General -> Default Session - ...
- PhpStorm快捷键设置/个性化设置,
#常用快捷键 设置快捷键:File -> Settings -> IDE Settings -> Keymap -> 选择“Eclipse” -> 然后“Copy”一份 ...
- PhpStorm快捷键设置,个性化设置,多项目共存,更改样式主题字体
自定义常用快捷键 按照路径:File -> Settings -> Appearance & Behavior -> Keymap -> Copy 一份 Eclipse ...
- PhpStorm快捷键设置/个性化设置,如何多项目共存?如何更换主题?
#常用快捷键 设置快捷键:File -> Settings -> IDE Settings -> Keymap -> 选择“Eclipse” -> 然后“Copy”一份 ...
随机推荐
- (转)基于jQuery的form转json示例
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/ ...
- php 获取当前服务器 系统
引子: 今天遇到一个问题,当执行文件操作是,不同系统之间的命令是不同的 , 所以需要判断当前系统. $is_win = strtoupper(substr(PHP_OS,0,3))==='WIN'?1 ...
- 【读书笔记《Bootstrap 实战》】2.作品展示站点
假设我们已经想好了要给自己的作品弄一个在线站点.一如既往,时间紧迫.我们需要快一点,但作品展示效果又必须专业.当然,站点还得是响应式的,能够在各种设备上正常浏览,因为这是我们向目标客户推销时的卖点.这 ...
- VS2010和opencv-2.4.10、GDAL
系统环境:win10 64位 本文只限于学习交流,商业用途请支持正版! 转载请注明:转载请注明http://www.cnblogs.com/mxbs/p/6206060.html 2016 ...
- [No000068]document.body.clientHeight 和 document.documentElement.clientHeight 的区别
document.body.clientWidth ==> BODY对象宽度 document.body.clientHeight ==> BODY对象高度 document.docume ...
- CSS实现进度条和订单进度条
最近半个月为了期末考试,可要了学渣我半瓶血啊!今天本该好好复习的,可是状态不好,就随便找点乐子玩一玩,于是乎就想起之前面试时面试官给的一道题(见标题),那就弄点简单的小玩意给自己洗洗脑咯. 简单地效果 ...
- 9个让人印象深刻的网站 JS 视觉效果
网页设计已经提升到一个整体新的水平,Flash 渐渐失去了地位,逐渐被 HTML/JavaScript/CSS 所超越,而且一样可以实现出 Flash 复杂的特效. 本文介绍 8 个让人印象深刻的网站 ...
- [LeetCode] Wiggle Sort
Problem Description: Given an unsorted array nums, reorder it in-place such that nums[0] <= nums[ ...
- jquery submit() 提交失败
今天写一个表单提交 居然走到$('#wechat_form').submit() 这,但怎么都没有提交这个表单 google 了一下 Additional Notes:Forms and their ...
- logging 模块
import logging logging.basicConfig(filename='log.log', format='%(asctime)s - %(name)s - %(levelname) ...