idea
夜未央,流年殇
这个作者很懒,什么都没留下…
展开
-
在IntelliJ IDEA中,类或方法有被调用,点击却显示 is never used
在IDEA 里面的一些类及方法,有被其他的类或者方法调用,但是去看的时候显示灰色,鼠标放上面的时候显示:Class ‘XXX’ is never used或者Method ‘XXX’ is never used,并且运行正常。解决方法:刷新项目缓存idea点击 File -- > Invalidate Caches/Restart...原创 2022-02-23 23:45:00 · 3780 阅读 · 0 评论 -
IntelliJ IDEA 项目隐藏目录
(1)打开设置:Ctrl + Alt + s 或者菜单File > Settings(2)在打开的窗口中。选择Editor > File Types, 在右侧下方Ingore files and folders输入 .idea; 注意分号原创 2020-11-10 07:45:55 · 2702 阅读 · 0 评论