来源:blog.csdn.net/wytocsdn/article/details/81913701 svn文件修改后,默认只有当前文件更改而父文件没有标注,很不直观;查了一顿后,发现,可以设置;File—->settings—->version control—–>勾选show directories with changed descendants JAVA_TOOL_OPTIONS -Dfile.encoding=UTF-8Setting--editor--code sytle--java--imports把Class count to...和Names count to...后边的数值调大一点。File--Settings-Compiler的Addtional build process VM optionsFile -> Other Settings -> Default Settings7、当idea中properties配置文件中文显示utf8编码乱码file->setting->editor->file encodings把transparent native-to-ascll conversion勾选上就行了。8、解决IDEA中tomcat启动控制台乱码问题。菜单栏run- Edit Configurations 或 右上角有个向下的小箭头 选择你乱码的tomcat -> service->VM option,配置虚拟机编码格式为UTF-8(-Dfile.encoding=UTF-8)9、Intellij idea用快捷键自动生成序列化idIntellij idea用快捷键自动生成序列化id类继承了Serializable接口之后,使用alt+enter快捷键自动创建序列化id 进入setting→inspections→serialization issues→选择图中的选项。serializable class without 'serialVersionUID’ /** * @Package ${PACKAGE_NAME} * @author 侯文远 * @date ${DATE} ${TIME} * @version V1.0 * @Copyright © 2016-2017 奥琦玮信息科技(北京)有限公司 */ 先创建一个自定义快捷键,输入如下内容:(第一行不要加*号,因为你在已生成列表里是有的时候他前面已经存在一个*号了。)@author 侯文远 * @date $date$ $time$ 3)在最尾部输入自定义快捷键,我的是@aut+tab17、IDEA忽略某个文件或者文件夹,如系统的.idea文件夹和.iml文件。18、Language Injection正则或JSON校验。在字符串的赋值处,Alt+Enter选择Inject Language or referenceSettings - Editor - General - Smart Keys - 选中 Surround selection on typing quote or brace 选中要添加双引号的代码 然后按键盘上的双引号(shift+')即可设置之后也可以直接在选中内容两边加上《》,[],{}等,使用方法类似。选中代码之后,点<、{、[
|