我只是签出了一个新分支,即使在5分钟后intellij中的文件系统仍然没有更新。其他所有内容也感觉很迟钝(单击文件,再单击intellij中的另一行)。我说的是3个新文件,变化不大。几周前还好。
IntelliJ IDEA 2019.3 x64-Win 10 Pro 64位
我需要手动按“从磁盘重新加载”以立即获取更改。
我偶然发现这里有一件红色的东西在眨眼
点击并赢得竞争
java.lang.ClassCastException: class com.intellij.lang.javascript.psi.impl.JSFileImpl cannot be cast to class com.intellij.psi.xml.XmlFile (com.intellij.lang.javascript.psi.impl.JSFileImpl is in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @47a826eb; com.intellij.psi.xml.XmlFile is in unnamed module of loader com.intellij.util.lang.UrlClassLoader @4f2410ac)
我什至不使用android。
然后我去了插件,并选择了数百个项目。我取消了所有不需要的选择。
答案 0 :(得分:0)
显然可能会有很多不同的事情
如果这不起作用
简而言之:
将以下行添加到/etc/sysctl.d/目录下的/etc/sysctl.conf文件或新的* .conf文件(例如idea.conf):
fs.inotify.max_user_watches = 524288
然后运行此命令以应用更改:
sudo sysctl -p --system
答案 1 :(得分:0)
我已在框架或编辑器选项卡激活时同步文件-未选中!这就是文件未同步的原因...