plugin installs but cursive menu never appears

108 views
Skip to first unread message

bill.burcham

unread,
Sep 24, 2018, 7:40:40 PM9/24/18
to Cursive
On a new laptop running:


IntelliJ IDEA 2018.2.3 (Ultimate Edition)
Build #IU-182.4323.46, built on September 3, 2018
Licensed to Pivotal Labs

JRE: 1.8.0_152-release-1248-b8 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6


I installed the Cursive plugin. Restarted IntelliJ when prompted.

When IntelliJ restarted I expected to be prompted to enter my Cursive license key, but I wasn't.

After startup, in a new Leiningen project, with core.clj open, I expect to see a "Cursive" menu on the context menu, but I don't. I also expect to see a menu option to start a REPL when I open the context menu on the file (in the Project tool window), but I don't.

I tried installing the plugin via the default mechanism (from the JetBrains repository) and via downloading the tarball and installing it from disk, with the same results.

According to the IntelliJ plugins panel, I have installed Cursive version 1.7.0-2018.2


bill.burcham

unread,
Sep 24, 2018, 7:48:39 PM9/24/18
to Cursive
…that was with the _stable_ version 1.7.0-2018.2 dated June 5. Same results w/ the EAP version 1.7.0-2018.2 dated September 20

Mark Nutter

unread,
Sep 24, 2018, 9:07:00 PM9/24/18
to cur...@googlegroups.com
I have a similar setup, and it works for me. A few things to check:

• There's a old Leiningen plugin that's not compatible with Cursive, I believe. If you have that on, you should turn it off and restart.
• If I create a new project using "lein new my-project" at the command line, and then import it via File -> New -> Project From Existing Sources..., and then select "Leiningen" as the project type, and so on, I get a project that Cursive recognizes as belonging to it.
• There is no "Cursive" menu per se, but if Cursive is interacting correctly with your project, you should see syntax highlighting on your Clojure/CLJS source code, and you should have a REPL submenu under the Tools menu.

If all else fails, sometimes it helps to do File -> Invalidate Caches / Restart...

Good luck,

Mark

--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.
To post to this group, send email to cur...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/cursive/bf9ebe31-56a7-4b3e-8f05-9b8fe0fe4301%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

bill.burcham

unread,
Sep 24, 2018, 11:07:16 PM9/24/18
to Cursive
Thanks Mark. IntelliJ finds no plugins containing any of:

"lein"
"cloj"

The fact that I wasn't prompted for my Cursive license key when IntelliJ started up, coupled w/ the fact that there is no REPL menu item anywhere leads me to believe that somehow Cursive is misconfigured.

bill.burcham

unread,
Sep 24, 2018, 11:33:20 PM9/24/18
to Cursive
I just uninstalled Cursive and I see that my clj code highlighting went away (it was highlighted before uninstalling the plugin).

Also the REPL tool window button (lower right chrome) went away (it was there before—but, of course, the tool window didn't actually contain a running REPL)

I get a popup in lower-right of IntelliJ saying "Plugins supporting feature (Run Configuration[ClojuireScript]) is currentlyh not installed". When I hit the "Configure plugins…" link, a panel offering to install Cursive 1.7.0-2018.2 pops up. The description in that popup says:

Built on: 2018-09-20 14:26
Built from: 1.8.0-eap7

I hit "OK" to install the plugin and hit the link to Restart IntelliJ. After restart I see that syntax highlighting is happening on core.clj, and I have a REPL tool window (but no REPL). I can navigate to the definition of Clojure fns e.g. the testing macro in clojure.test or the println fn in clojure.core.

I created a brand new Leiningen project in IntelliJ. It's kind of interesting to me, that it creates a project dependent on Clojure 1.8.0—not 1.9.0 Hmm.Still no way to create a REPL. The "hello world" in this Leiningen project, when run, exits 0 but does not print anything to the IntelliJ console.

When creating a new IntelliJ project I see the "Clojure" type in the list, which says "3 JARs will be downloaded into lib directory; Project library Clojure-1.9.0 will be created". Creating a new project of that type, I'm able to make a core.clj that prints "hello world" to the console when run. But I have no way to create a REPL for it.


Colin Fleming

unread,
Sep 25, 2018, 6:47:24 AM9/25/18
to cur...@googlegroups.com
Hi Bill,

It sounds like Cursive is installed correctly based on what you're seeing. The Clojure 1.8 thing is just what lein does, that's nothing to do with Cursive. When you first installed it you probably got a notification about the licence (they appear in the lower right) but many people seem to basically ignore all the notifications. You can check how the Cursive licensing is configured by going to Help->Register Cursive...

The REPLs are configured using run configurations, see here: https://cursive-ide.com/userguide/repl.html

Cheers,
Colin
--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.
To post to this group, send email to cur...@googlegroups.com.

Matthew Chadwick

unread,
Sep 25, 2018, 7:02:47 AM9/25/18
to cur...@googlegroups.com
hi, I'm trying to open a project as a deps.edn project, but I'm getting "Cannot save settings Press Refresh to see available tools.deps versions" -- ok, then I pressed refresh and selected version 0.5.452 it still does it

Colin Fleming

unread,
Sep 25, 2018, 7:05:30 AM9/25/18
to cur...@googlegroups.com
Hi Matthew,

Can you send a screenshot of what you're seeing?

Cheers,
Colin
> --
> You received this message because you are subscribed to the Google
> Groups "Cursive" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to cursive+u...@googlegroups.com.
> To post to this group, send email to cur...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/cursive/B8076DC9-B6BC-41EF-8CB6-7F7AFE1C3732%40celeriac.net.

Matthew Chadwick

unread,
Sep 25, 2018, 8:22:39 AM9/25/18
to cur...@googlegroups.com
here


and I tried it on another machine & got this
 

Colin Fleming

unread,
Sep 25, 2018, 8:31:53 AM9/25/18
to cur...@googlegroups.com
Could you send me (probably off list is best) a copy of your log file? Help->show log in finder/explorer.

On 25/09/2018, at 14:22, Matthew Chadwick <po...@celeriac.net> wrote:

here

<Messages Image(2451325355).jpeg>

and I tried it on another machine & got this
<Screenshot 2018-09-25 at 13.17.09.png> 

Matthew Chadwick

unread,
Sep 25, 2018, 8:35:07 AM9/25/18
to cur...@googlegroups.com
thing is, I did tail -f /path/to/idea.log and it didn't append anything when I made the error happen

Colin Fleming

unread,
Sep 25, 2018, 8:38:59 AM9/25/18
to cur...@googlegroups.com
Could you send it anyway? There might be something earlier in the log that would give a hint about what is happening.

bill.burcham

unread,
Sep 25, 2018, 10:25:34 AM9/25/18
to Cursive
Thanks Colin. I was able to make a REPL run config. I'm in a REPL now. Feels like home.

But there is no Help > Register Cursive. But Cursive is working somehow. Maybe when I forgot how to run the REPL, I also forgot I'd already licensed Cursive. Doesn't explain why I don't see "Register Cursive" anywhere though.

bill.burcham

unread,
Sep 25, 2018, 5:13:14 PM9/25/18
to Cursive
OK tested it on a coworker's setup and concluded I'd just missed the prompt for the license key and that I must be running the 30-day trial now.

Be nice if I could see some sort of config panel for the plugin.

See:

Screen Shot 2018-09-25 at 2.11.34 PM.png


Oh, would you look at that:

Screen Shot 2018-09-25 at 2.12.26 PM.png


It must've been right there in the Help menu all along—but searching for "cursive" didn't turn it up!

Colin Fleming

unread,
Sep 25, 2018, 5:39:29 PM9/25/18
to cur...@googlegroups.com
Hmm, that search is the built in OSX one I think, I've generally found that to be pretty useless in other apps, and clearly here it's not great either!

If you open the preferences, you can search there for Clojure and you'll get a few different config panes - that's where most of the config happens.
--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.
To post to this group, send email to cur...@googlegroups.com.
Screen Shot 2018-09-25 at 2.11.34 PM.png
Screen Shot 2018-09-25 at 2.12.26 PM.png

bill.burcham

unread,
Sep 25, 2018, 7:56:24 PM9/25/18
to Cursive
Thanks Colin. IntelliJ is inscrutable (to me) sometimes (often). It's all working now.
Reply all
Reply to author
Forward
0 new messages