Fork me on GitHub
#cursive
<
2017-02-14
>
timgilbert17:02:47

Hey, is there a way to have a repl configuration automatically send a few commands down the wire after it gets initialized? (Not a big deal, I'm just a bit too lazy to always type in my user-defined (go!) task as soon as I connect)

jumar20:02:30

@timgilbert I’m not sure, but you can always create a “Live Template” for your commands and make it a little bit easier

timgilbert21:02:59

Oh, I'll try that, thanks

cfleming22:02:46

@denik I’m working on a way to make that less intrusive now.

cfleming22:02:58

What happens when you click generate?

denik22:02:19

@cfleming it goes away and comes back later

denik22:02:29

or it appears for every new file

cfleming23:02:57

So you don’t get an error when generating the stubs?

denik23:02:12

@cfleming seems like I don’t. I remember the issue from a couple months back and haven’t used it since then. Are the stubs supposed to be visible? Because clicking generate also did nothing in the file.

denik23:02:53

@cfleming maybe the message / analysis was outdated?

cfleming23:02:45

@denik I’m not sure. I’ll create a dev build with more logging around this, if you don’t mind trying it to see if we can diagnose the problem.

cfleming23:02:18

@timgilbert You should be able to do that using a user.clj, no Cursive interaction necessary. See e.g. http://stackoverflow.com/a/36239223/155368

timgilbert23:02:05

Thanks @cfleming, will look into that