其他分享
首页 > 其他分享> > IDEA工具的使用

IDEA工具的使用

作者:互联网

常用设置(Ctrl+Alt+S):

Editor>General>✔钩选

[✔] Change font size (Zoom) with Ctrl + Mouse Wheel
[✔] Show quick documentation on mouse move

Editor>General>Auto Import>✔钩选

[✔] Add unambiguous ......
[✔] Optimize imports ......

Editor>Code Style>Java-Imports

Editor>General>Appearance

[✔] Show line numbers
[✔] Show method separators

Editor>General>Code Completion>不✔钩选

  • [ ] Match Case

Editor>General>Editor Tabs >不✔钩选

  • [ ] Show tabs in one row

Editor>Font

Editor>Color Scheme>Language Defaults-Comments(多行注释、文档注释、单行注释)

Editor>File and Code Templates - Includes - File Header

/**
* @Auther: ${USER}
* @Date: ${DATE}-${TIME}
* @Description: ${PACKAGE_NAME}
* @version: 1.0
*/

Editor>File Encodings

Build,Execution,Deployment>Compiler>✔钩选

  • [✔] Build project automatically
  • [✔] Compile independent modules in parallel

Editor>Inspections - 搜索Serializable✔钩选

  • [✔] Serializable class without 'serialVersionUID'

  • 选中类后Alt+Shift+Enter

IDEA的常用快捷键

【1】创建内容:Alt+insert
【2】main方法:psvm
【3】输出语句:sout
【4】复制行:Ctrl+D
【5】删除行:Ctrl+Y
【6】代码向上/下移动:Ctrl + Shift + Up / Down
【7】搜索类: Ctrl+N
【8】生成代码 :Alt + Insert(如:构造函数、getter、setter、toString等)
【9】百能快捷键 : Alt + Enter (导包、生成变量等)

标签:Ctrl,Show,IDEA,General,导包,Editor,使用,Alt,工具
来源: https://www.cnblogs.com/cbfqpyq/p/15830510.html