- 9
- 0
- 约4.52千字
- 约 7页
- 2017-05-16 发布于湖南
- 举报
intellij idea常用设置
IntelliJ IDEA常用设置
java应用文档 2010-02-04 12:41:39 阅读396 评论0 字号:大中小
IntelliJ IDEA是一款非常优秀的JAVA编辑器,初学都可会对其中的一些做法感到很别扭,刚开始用的时候我也感到很不习惯,在参考了网上一些文章后在这里把我的一些经验写出来,希望初学者能快速适应它,不久你就会感觉到编程是一种享受了。
安装后的一些设置技巧:
1.
如何完美显示中文:Settings-Appearance中勾选Override default fonts by (not recommended),设置Name:NSimSun,Size:12
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
2.
如何让光标不随意定位:Settings-Editor中去掉Allow placement of caret after end of line。
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
3.
如何显示行号:Settings-Editor-Appearance标签项,勾选Show line numbers
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
4.
如何让IntelliJ IDEA动的时候不打开工程文件:Settings-General去掉Reopen last project on startup.
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
5.
在IntelliJ IDEA中为什么无法起动Tomcat:请使用ZIP版的Tomcat
6.
默认代码提示和补全快捷键跟输入法冲突,如何解决:Settings-Keymap
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
先copy一份快捷键方案。
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
再展开。如图:
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
选择功能,再添加一个新的快捷键
screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=Click here to open new window\nCTRL+Mouse wheel to zoom in/out;}
剩下功能,也要改,如上图蓝色字体部分。我只是把原有快捷键中的空格改成了“;”,就是分号,这样会方便很多。
IntelliJ IDEA 5.0 快捷键
来源:acumen 1. Ctrl + Space 完成类、方法、变量名称的自动输入
这个快捷键是我最经常使用的快捷键了,它可以完成类、方法、变量名称的自动录入,很方便,现在我写程序基本上都不会完整的输入变量名称了,因为有了工具帮你输入,为什么还要自己敲键盘呢?
2. Ctrl + N(Ctrl
原创力文档

文档评论(0)