本文主要是介绍IDEA相关操作,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!
1. Set display mode of package
Switch between the 3 options (Flatten Packages, Compact Middle Packages, Hide Empty Middle Packages) in the pop-up menu upon settings button in the project window
2. Add jar file as library
Trigger the option 'Add as Librar...' in the context menu upon jar file.
3. Set Auto Import
Check the 2 options: Add unambiguous imports on the fly, Optimize imports on the fly (for current project) under the directory: File=>Settings=>Editor=>General=>Auto Import
4. Shortcut Key for Import
Alt+Enter
5. 打開Generate Alt+INSERT 右擊菜單=>Generate自動創建構造函數 toString
6.CTRL*ALT*T打开surround with
7. new完之后,ALT+ENTER 导入包 自动修正 自动补全变量名
8 双击shift键打开文件搜索对话框
这篇关于IDEA相关操作的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!