cursive

Issues at: https://git.io/cursive-issues
jacekschae 2021-04-30T17:47:26.288Z

What is the way to move a package and rename ns correctly? I felt like this was working yet now I can’t get it to work? Any ideas?

cfleming 2021-04-30T21:33:07.289800Z

IntelliJ 2021.1.1 is out. As described in this blog post, it had a bunch of index corruption bugs which have possibly provoked the problems that some users have been having. @katox I’d be interested to know if this fixes the need to invalidate constantly that you were having. https://blog.jetbrains.com/idea/2021/04/intellij-idea-2021-1-1/

katox 2021-05-01T07:52:22.290200Z

Oh, thanks for pointing that out. Hopefully it'll go away. I'll update and keep an eye on it for a while.

gklijs 2021-05-03T05:40:40.290400Z

I think I had some. At least cursive was giving errors, even for non Clojure projects.

katox 2021-05-03T17:56:40.293500Z

Something is still not quite right. For instance I deleted a file (+ committed the change into git) and after about an hour the indexer wanted to access it anyway:

java.lang.Throwable: Invalid file: file:///home/katox/...rules.clj (invalid)
	at com.intellij.openapi.diagnostic.Logger.error(Logger.java:161)
	at com.intellij.psi.impl.file.impl.FileManagerImpl.findFile(FileManagerImpl.java:351)
	at cursive.psi.impl.synthetic.ClNamespace.lambda$getContainingFile$0(ClNamespace.java:95)
	at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:830)
	at cursive.psi.impl.synthetic.ClNamespace.getContainingFile(ClNamespace.java:95)
	at org.jetbrains.idea.maven.dom.MavenDomUtil.isMavenFile(MavenDomUtil.java:110)
	at org.jetbrains.idea.maven.dom.MavenModelDocumentationProvider.getMavenElement(MavenModelDocumentationProvider.java:106)
	at org.jetbrains.idea.maven.dom.MavenModelDocumentationProvider.getMavenElementDescription(MavenModelDocumentationProvider.java:61)
	at org.jetbrains.idea.maven.dom.MavenModelDocumentationProvider.getElementDescription(MavenModelDocumentationProvider.java:55)
	at com.intellij.psi.ElementDescriptionUtil.getElementDescription(ElementDescriptionUtil.java:17)
	at com.intellij.usageView.UsageViewUtil.getType(UsageViewUtil.java:59)
	at com.intellij.find.findUsages.PsiElement2UsageTargetAdapter.getLongDescriptiveName(PsiElement2UsageTargetAdapter.java:244)
	at com.intellij.find.impl.ShowRecentFindUsagesGroup.getChildren(ShowRecentFindUsagesGroup.java:43)
	at com.intellij.ide.util.gotoByName.GotoActionModel.lambda$collectActions$1(GotoActionModel.java:388)
	at com.intellij.util.SlowOperations.allowSlowOperations(SlowOperations.java:64)
	at com.intellij.ide.util.gotoByName.GotoActionModel.collectActions(GotoActionModel.java:388)
	at com.intellij.ide.util.gotoByName.GotoActionModel.collectActions(GotoActionModel.java:400)
	at com.intellij.ide.util.gotoByName.GotoActionModel.collectActions(GotoActionModel.java:400)
	at com.intellij.ide.util.gotoByName.GotoActionModel.collectActions(GotoActionModel.java:400)
	at com.intellij.ide.util.gotoByName.GotoActionModel.buildActions(GotoActionModel.java:114)
	at com.intellij.ide.util.gotoByName.GotoActionModel.<init>(GotoActionModel.java:107)
	at com.intellij.ide.util.gotoByName.GotoActionModel.<init>(GotoActionModel.java:99)
	at com.intellij.ide.actions.searcheverywhere.ActionSearchEverywhereContributor.<init>(ActionSearchEverywhereContributor.java:55)
...

katox 2021-05-06T11:11:54.309200Z

Other than that I had no corrupted indexes since the bugfix update.

cfleming 2021-05-06T20:22:16.314100Z

Great to hear it’s improved. That’s still an IntelliJ bug there, hopefully they’ll fix more of them in future releases.

cfleming 2021-05-06T20:22:43.314300Z

If you can be bothered, it would be useful to file an issue in YouTrack about that.

👍 1