IDEA常见问题记录

1、打开父类:Ctrl+U (鼠标右键点击这个方法名,按下快捷键就可以跳转到父类接口的该方法上面,不选中时是跳转到父类类名/接口名上)
2、当前方法展开/折叠:Ctrl+"+/-"
3、全部展开/折叠:Ctrl+Shift+"+/-"
4、索引nodejs的node_moudles目录的时候很卡很慢,可以先清空node_moudles,在idea中右键->Mark directory as->Excluded,然后再install
5、IDEA main方法自动补全:https://blog.csdn.net/zjx86320/article/details/52684601
6、Error running 'LocalServiceTest.process': Command line is too long. Shorten command line for LocalServiceTest.process or also for JUnit default configuration.
解决办法:

修改项目下.idea\workspace.xml,找到标签
在标签里加一行

7、debug:https://blog.csdn.net/yxl_1207/article/details/80973622
8、快捷键参考:https://www.cnblogs.com/zhangpengshou/p/5366413.html

转载于:https://my.oschina.net/u/2559275/blog/3053516

你可能感兴趣的:(IDEA常见问题记录)