IDEA实用技巧

从Eclipse转到IDEA开发到现在都没完全适应,不过IDEA就算这样也是完爆Eclipse就是了。。。。(个人观点)


文件分屏

对需要分屏的文件邮件,选中
Split Virtically/Split Horizontally


JavaDoc

idea使用javadoc报错:编码GBK的不可映射字符
解决方案:
在"Tools->Gerenate JavaDoc”面版的
Other command line arguments 栏里输入:-encoding utf-8 -charset utf-8


IDEA创建默认文件

File --> Settings --> File and Code Templates --> 新增File,增加名称和默认值


IDEA之make dictionary as

Sources Root -> 源码文件夹
Test Sources Root ->测试源码文件夹
Resources Root ->资源文件夹
Test Resources Root ->测试资源文件夹
Excluded ->编译后的文件夹
Generated Sources Root ->。。


部分快捷键(摸索中)

psvm --> 快速生成main函数
sout -->快速生成打印方法
CTRL+ALT+INSERT --> 快速创建文件
ALT + INSERT --> 快速引入code generate

猜你喜欢

转载自www.cnblogs.com/zbb2161228/p/10425035.html