This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-30
Channels
- # asami (10)
- # babashka (14)
- # beginners (71)
- # calva (56)
- # cider (8)
- # cljs-dev (3)
- # clojure (111)
- # clojure-australia (1)
- # clojure-europe (19)
- # clojure-nl (4)
- # clojure-uk (147)
- # clojurescript (4)
- # cursive (8)
- # datalog (1)
- # datomic (19)
- # emacs (4)
- # graalvm (32)
- # helix (14)
- # jackdaw (7)
- # jobs-discuss (10)
- # juxt (4)
- # lsp (3)
- # malli (47)
- # meander (6)
- # off-topic (29)
- # portal (6)
- # re-frame (1)
- # react (3)
- # reitit (24)
- # releases (1)
- # remote-jobs (4)
- # reveal (33)
- # rewrite-clj (3)
- # shadow-cljs (5)
- # sql (10)
- # tools-deps (4)
- # vim (7)
- # xtdb (151)
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?
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/
Oh, thanks for pointing that out. Hopefully it'll go away. I'll update and keep an eye on it for a while.
I think I had some. At least cursive was giving errors, even for non Clojure projects.
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)
...