idea 一直scanning files to index的完美解决
转载:https://blog.csdn.net/libusi001/article/details/102800605
方法一、File -> Invalidate Caches / Restart
方法二、删除C:\Users\xxx\.IntelliJIdea2018.2\system文件夹
方法三、将扫描的文件夹排除在建立索引的范围之外,即将xxx文件夹标记为Excluded。
方法四、更改Edit Configurations和idea配置路径
第四种方法摸索研究后得出,亲测好用!
IDea超实用10篇博客:https://blog.csdn.net/libusi001/article/details/100070715
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
scanning files to index 扫描文件建立索引
方法一、File -> Invalidate Caches / Restart
方法二、删除C:\Users\xxx\.IntelliJIdea2018.2\system文件夹
方法三、将扫描的文件夹排除在建立索引的范围之外,即将xxx文件夹标记为Excluded。
方法四、更改Edit Configurations和idea配置路径
1、一直扫描很长时间,点击Edit Configurations,update classes and resources更改为Do nothing。
2、会发现扫描时间很短,但是还会一直重复扫描
3、更改idea配置路径
idea.config.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\config
idea.system.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\system
idea.plugins.path=D:\Java\idea\IntelliJ IDEA 2018.2.4\01edit\plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE config folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.config.path=${user.home}/.IntelliJIdea/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to IDE system folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.system.path=${user.home}/.IntelliJIdea/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize path to user installed plugins folder. Make sure you're using forward slashes.
#---------------------------------------------------------------------
# idea.plugins.path=${idea.config.path}/plugins
思路:
重启idea,重装idea,关机重启,kill idea进程都不好使。
重新download的代码一样的问题,所以一定是配置文件的问题。
配置文件删掉一样不好使,可能是需要刷新加载配置文件。
不重启的情况下(重启也不一定好用),更改idea配置路径即可起到刷新的效果。
更改完毕后,关闭idea,任务管理器杀死进程,重新启动。
发现update完毕后就不会重复扫描建立索引了。
相关文章
- intellij idea修改maven配置 总是恢复默认配置 的解决方法idea版本(2020.2.x)
- 使用IDEA创建SpringBoot项目出现intellij idea No active profile set, falling back to default profiles: default
- 使用IDEA搭建SpringBoot项目
- 解决IDEA导入Eclipse项目时,编译报错“ Error:(1, 1) java: 非法字符: ‘ufeff’”
- IDEA 最新版2022.3.2 创建Android新空项目时:Cannot resolve symbol ‘R‘错误原因和解决方法
- 解决IDEA报错:无法检索应用程序 JMX 服务 URL[Failed to retrieve application JMX service URL]亲测可用
- 2022 PlantUML 这款 IDEA 插件能搞,流程图、架构图,N种图... 简直神器!
- Idea:Git的常用菜单操作和常用命令【含分支创建、检出、提交、合并】
- 解决 IDEA 下载源码失败的问题maven-default-http-blocker (http://0.0.0.0/) Blocked mirror for repositories
- 【IDEA】idea下载插件超时 mac windows
- Idea运行报错Error running 'Application': Command line is too long的解决方法
- Idea 常用快捷键列表
- 【IDEA】idea打开新项目,左下角的工作栏中没有显示Services解决办法
- idea破解
- idea 无法创建Scala class 选项解决办法汇总
- Idea-每次修改JS文件都需要重启Idea才能生效解决方法
- Idea_从Eclipse转Intellij IDEA
- 解决IDEA自动重置LanguageLevel和JavaCompiler版本的问题
- NoSuchMethodError idea解决jar包冲突
- idea从零到精通02之idea基础设置
- 图文详细解决IDEA使用Debug模式启动项目一直转圈圈跑起不来(亲测可以)
- JAVA可变参数 ( IDEA演示 )