Fork me on GitHub
#cursive
<
2016-09-13
>
onetom01:09:53

@kenny sorry, i didn't get that part. in clj im just using boot-system from https://github.com/danielsz/system BUT i haven't tried it with checkout indeed

cfleming03:09:32

@nwjsmith Which keymap are you using? OS X or OS X 10.5+?

sandbags08:09:31

I’d like to run ring server from within Cursive. I know it’s possible because I read https://cursive-ide.com/archive/1269.html but I’m not clear how to create the appropriate Lein run configuration.

sandbags08:09:52

I assume i have to create a “Clojure Application” rather than “Clojure REPL"

sandbags08:09:34

but it’s asking for things like Script Path & Module but i’m near clear how they connect

cfleming08:09:35

@sandbags There’s a leiningen run configuration type

sandbags08:09:24

@cfleming i swear i looked over that list… didn’t see that

sandbags08:09:58

@cfleming should this support debugging? It worked using the run button with the trampoline turned off, but when I turned on the trampoline (it said it was required for debugging) and hit the debug button I get an entry in the event log "Error running Server: Error executing Leiningen task”

sandbags08:09:39

there’s no output at all in the run box so i can’t see what’s going on, i just get that one message in the event log. but it doesn’t say what the error that failed the task is

cfleming09:09:05

@sandbags Sorry, busy in the background. This should support debugging, yes, but there is a bug reported against the current build: https://cursive-ide.com/archive/2133.html

sandbags09:09:53

Ah, yes, looks like the exact same thing here

sandbags09:09:54

What controls how Cursive knows about things to complete?

sandbags09:09:05

I’ve added a new dependency to projects.clj and run lein deps

sandbags09:09:32

at this point it still can’t complete package names

sandbags09:09:48

make also doesn’t do it

sandbags09:09:42

if i restart, after restarting the packages are known to Cursive. I guess its something to do with this indexing task. But how to trigger that without restarting intellij

cfleming10:09:40

@sandbags Lein toolwindow, hit the refresh button at the top

cfleming10:09:55

Or Cmd-Alt-A, search for Refresh Leiningen Projects

sandbags10:09:34

aha, thank you

sandbags10:09:42

now just to remember this 🙂

cfleming10:09:33

I’m planning to remind you, but have not yet added that 🙂

nwjsmith14:09:53

@cfleming when I went to look up the keymap, I figured out that ⌥⌘→/`⌥⌘←` can be used for forward/back. Thanks!