Fork me on GitHub
#cursive
<
2016-10-01
>
puzzler00:10:41

Tried uninstalling and reinstalling Intellij, latest Ultimate edition (porting over my old settings file so I don't have to re-register), go to settings, browse repositories, install cursive plugin -- it downloads for a while and then nothing happens. Can't install Cursive.

cfleming00:10:09

@puzzler That’s not good. The latest stable version should be 1.3.1.

cfleming00:10:53

I used to get a lot of flakiness when I was using my own repo, but since I’ve switched to using the JetBrains one, it’s been stable.

puzzler00:10:29

1.3.1 isn't even showing up when I try to browse repositories. Is there any way to force it to look in the right place?

cfleming00:10:45

If you go to Settings->Plugins->Browse Repositories and press refresh, that doesn’t pick up 1.3.1?

puzzler00:10:18

Based on your comment, I just went into "Manage Repositories", and I see the following entry under custom repositories: https://updates.cursive-ide.com/plugins-2016.1.xml

cfleming00:10:19

If you go to Manage Repositories from Browse Repositories, do you have any plugin repositories registered there?

cfleming00:10:34

Ok, if you remove that, hopefully things will work.

cfleming00:10:53

That should have been removed automatically though, I’ll check that.

puzzler00:10:02

So far, so good, it's asking me to restart...

puzzler00:10:47

Seems to be working now. Thanks.

puzzler00:10:06

Is there a change log so I can understand what's changed recently with the plugin?

puzzler00:10:54

I especially want to know if there have been any changes surrounding the launching of the REPL and setting up configurations, as the last version I worked with had some extra entries that were confusing and not useful.

cfleming00:10:55

Actually, I don’t have a good change log in a single place, I’ve been meaning to add one. The best source for change updates is the mailing list archive: https://cursive-ide.com/archive/. I post information about new versions there but I have not put them all in a single place yet.

cfleming00:10:19

However I don’t think those REPL entries have changed recently.

puzzler01:10:27

I recently updated my JDK as well. Where do I need to go to make sure the REPL is using the latest JDK on my system?

puzzler01:10:11

Never mind, found it by trying to create a new project.

puzzler08:10:08

How do I force cursive to reload the "external libraries"? I'm having to do "lein deps" from a command line to pick up new snapshots from clojars, and when I updated the version of clojure in my project file, the Cursive project external libs still shows old version.

cfleming08:10:19

@puzzler In the Leiningen window, press the refresh button, or search for the “Refresh Leiningen Projects” action using Cmd-Shift-A or Ctrl-Shift-A

puzzler08:10:58

Thanks. Didn't notice that window existed.

cfleming08:10:26

I’m planning a notification for that with a link to refresh them right away, since it’s a common source of confusion.

puzzler08:10:57

Have you played around with 1.9 much in Cursive? When something like defn or let fail during compilation of a file due to non-conformance to the corresponding Clojure specs for those macros, no location is reported so it's extremely difficult to figure out what the error is referring to.

cfleming08:10:46

No, I haven’t. Is that a problem with Cursive or with spec? Is Cursive masking location info somehow?

puzzler09:10:15

Not sure, this is the first time I've tried it.

cfleming09:10:02

I’ve heard several people comment that the spec messages are hard to decipher. I haven’t played around with it enough myself to know yet.

Alex Miller (Clojure team)12:10:45

Macro spec errors do throw with file/line/col info so there shouldn't be any reason they can't be located

puzzler12:10:45

With smart parens turned off, is there any way to enter a multi-line input at the REPL?

puzzler12:10:51

@alexmiller Does it throw file/line/col info when the problem is in Clojure code from a jar file listed as a dependency? That's the context in which I was having a problem, where the REPL couldn't even start because the Clojure compiler was throwing an error while starting everything up and compiling and loading all the dependencies.

Alex Miller (Clojure team)12:10:11

regardless of when you’re compiling or where the source resides, the error thrown is a CompilerException that carries file/line/col info

shaun-mahood15:10:56

@puzzler: not sure the shortcut on other platforms, but on my windows machine ctrl-enter allows multi line input with smart-parens off - so there must be a shortcut you can define. Can't check right now, but if you can't find it let me know and I can see what command it's bound to.

puzzler20:10:57

@shaun-mahood I'm also on Windows. In my keymap settings, Enter is bound to Execute current statement in one-line console and Ctrl-Enter is bound to Execute current statement in multi-line console. But they both do the same thing in the REPL window, which is to immediately send whatever I've typed on the first line to the nREPL server for evaluation. So yes, I'd be interested to know how you have it set up. I couldn't find any other "Execute" commands available in the keymap options.