Closed kernelp4nic closed 8 years ago
It's worse than I was thinking...if you have just a live template as a suggestion it doesn't show at all but the template stills works.
This is critical for me :(
If I create a live template to be used in every context, it's not shown on Clojure files, but shown in another files.
It's like the Clojure context is broken or something.
Just updated to the latest version of intellij and still have the same behaviour.
IntelliJ IDEA 2016.1.3
Build #IC-145.1617, built on June 3, 2016
JRE: 1.8.0_76-release-b198 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
I tried this, and I can see what you mean. However, for me the built in ones seem to work, this is only an issue for user defined ones. Is that what you're seeing too? For example, does defn
show in the autocomplete list?
Actually, I take it back - this does work for me, however they don't appear in the completion list until the whole name of the template is typed out. So I have to enter println
entirely before it appears in the completion.
Built in seems to works yes, but I can confirm this was working before because it broke my entire workflow.
This is driving me nuts! :) I don't even know if this is a Cursive problem or an Intellij problem.
I would appreciate any clues.
Sorry, I have no idea what's going on here :(
Does this fail for you in clj and cljs, or only cljs?
Looking at your first example, every completion appears 3 times - is this normal? I'm wondering if you have CLJS on your classpath 3 times, and that might be what is messing things up.
I can confirm this fails under clj/cljs/cljc/cljx. Tested in bash for example and it works fine:
Sorry about the noise. I reinstalled intellj because this was driving me nuts and imported my old config and templates are back as they supposed to.
Do I close this issue?
That's really weird. I'm going to blame some IntelliJ weirdness on that one. I'll close this since I don't think there's anything I could do to fix it.
oh my...it's happening again :-(
So, I finally got it working again. I removed IdeaIC2016.2 folder and reinstalled Cursive.
OSX:
mv ~/Library/Application Support/IdeaIC2016.2 ~/Library/Application Support/IdeaIC2016.2.broken
I needed to change every Live Template context to Clojure again.
This was working before...For example I have a live template for
println
, but now in the suggestions list doesn't show the description and I'm unable to differentiate the template from the clojure fns.