Fork me on GitHub
#cursive
<
2019-07-22
>
misha14:07:23

is there solution to "broken" open/closed paren at caret in the latest IDEA? it seems to highlight opening paren when caret is before closing, rather than after (as before). I think I read something about it here, but logs are lost(?)

misha14:07:03

I wonder if their issue ids start from 1 for every project: https://youtrack.jetbrains.com/issue/IDEA-211720

Julien Malige20:07:57

Hi, I am trying to enable the ClojureDocs support of cursive. Is there a way to do it if I have already clicked on "Don't ask me again" the first time the pop up appeared. #cursive (https://cursive-ide.com/userguide/documentation.html#clojuredocs-support)

manutter5120:07:30

Check in Preferences under Languages & Frameworks -> Clojure, at the bottom of the window, should be a Documentation options section.

Julien Malige21:07:02

cursive 1.8.1-2019.1

Julien Malige21:07:20

IntelliJ IDEA 2019.1.3 (Community Edition) Build #IC-191.7479.19, built on May 28, 2019 JRE: 1.8.0_202-release-1483-b58 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.5

cfleming21:07:15

@ULMT8RVFE The ClojureDocs support is only in the 1.8.2 EAP.

scarytom21:07:04

@cfleming any chance you can do a sweep of the most common crash reports? I'm pretty happy with Cursive, but of the many IntelliJ plugins I use, it is the only one that crashes, and it does so many times a day. I am in the habit of sending reports whenever this happens, but it is rather frustrating to have to keep restarting the IDE to get Cursive working properly again.

cfleming22:07:41

@UCQV87CN7 I’m sorry to hear that - AFAIK you should not have to be restarting the IDE. Is there a particular error that causes that? I just looked at the list, and the main one that lots of people seem to suffer from is around JS parsing - I have a fix for that in the works, but it’s a much larger change than I had anticipated.

scarytom06:07:56

The one that happens when I do a refactor -> extract variable. After that throws, the IDE behaves strangely: reference highlighting stops working, and further extract variables just call the variable "value" without offering to rename.

scarytom08:07:44

java.lang.RuntimeException: Document is locked by write PSI operations. Use PsiDocumentManager.doPostponedOperationsAndUnblockDocument() to commit PSI changes to the document.
Unprocessed elements: WHITE_SPACE(14501,14502)
	at com.intellij.psi.impl.source.PostprocessReformattingAspect.assertDocumentChangeIsAllowed(PostprocessReformattingAspect.java:291)
	at com.intellij.psi.impl.source.PostprocessReformattingAspect.assertDocumentChangeIsAllowed(PostprocessReformattingAspect.java:274)
	at com.intellij.codeInsight.template.TemplateBuilderImpl.buildInlineTemplate(TemplateBuilderImpl.java:181)
	at com.intellij.refactoring.rename.inplace.InplaceRefactoring.startTemplate(InplaceRefactoring.java:401)
	at com.intellij.refactoring.rename.inplace.InplaceRefactoring.lambda$buildTemplateAndStart$0(InplaceRefactoring.java:358)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl$1.run(WriteCommandAction.java:124)
	at com.intellij.openapi.application.RunResult.run(RunResult.java:35)
	at com.intellij.openapi.command.WriteCommandAction.lambda$null$1(WriteCommandAction.java:263)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:1054)
	at com.intellij.openapi.command.WriteCommandAction.lambda$performWriteCommandAction$2(WriteCommandAction.java:262)
	at com.intellij.openapi.command.WriteCommandAction.lambda$doExecuteCommand$4(WriteCommandAction.java:319)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:212)
	at com.intellij.openapi.command.impl.CoreCommandProcessor.executeCommand(CoreCommandProcessor.java:188)
	at com.intellij.openapi.command.WriteCommandAction.doExecuteCommand(WriteCommandAction.java:321)
	at com.intellij.openapi.command.WriteCommandAction.performWriteCommandAction(WriteCommandAction.java:262)
	at com.intellij.openapi.command.WriteCommandAction.execute(WriteCommandAction.java:244)
	at com.intellij.openapi.command.WriteCommandAction$BuilderImpl.run(WriteCommandAction.java:126)
	at com.intellij.refactoring.rename.inplace.InplaceRefactoring.buildTemplateAndStart(InplaceRefactoring.java:358)
	at cursive.refactoring.introduce.proxy$com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer$ff19274a.buildTemplateAndStart(Unknown Source)
	at com.intellij.refactoring.rename.inplace.InplaceRefactoring.performInplaceRefactoring(InplaceRefactoring.java:207)
	at cursive.refactoring.introduce.proxy$com.intellij.refactoring.introduce.inplace.InplaceVariableIntroducer$ff19274a.performInplaceRefactoring(Unknown Source)
	at cursive.refactoring.introduce$introduce_variable$fn__13961.invoke(introduce.clj:139)
	at cursive.refactoring.introduce.proxy$com.intellij.openapi.command.WriteCommandAction$ff19274a.run(Unknown Source)
`

cfleming20:07:30

Hmm, ok, thanks - I’ll look into that one.