Fork me on GitHub
#off-topic
<
2015-09-05
>
cfleming04:09:41

It’s been confirmed that the open source licences will remain and the OSS version of IDEA and PyCharm will remain the same.

jetzajac13:09:49

Sorry guys. But please don't panic, we are listening and definitely will react on this. http://blog.jetbrains.com/blog/2015/09/04/we-are-listening/

jeffmk14:09:05

@cfleming: Nice writeup. I guess all we can do is wait and see before making final judgment.

cfleming17:09:46

@jeffmk: Thanks. Yeah, I’ve written to them to see what their release model will be, which is the important part for me.

cfleming17:09:13

I can’t believe that they wouldn’t have considered the impact on third party plugins, so I’m curious to hear what the plan is.

luxbock17:09:00

@cfleming: does Cursive know how to jump to Clojures java sources?

luxbock17:09:03

@cfleming: does it grab the sources from the clojure-X-sources.jar even if the user hasn't specified that as a project dependency?

cfleming17:09:47

@luxbock: No, it doesn’t. What will happen is the first time you try to navigate to a class it will go to the decompiled bytecode, and will pop up a banner at the top of the editor offering to download the sources. Click the download link and it’ll download and attach the sources, and all subsequent navigation should correctly go to the sources.

luxbock17:09:10

ah I see, I really want to have this feature in Emacs

cfleming17:09:26

I’m afraid I can’t help there simple_smile

luxbock17:09:39

yep, have to try help myself

cfleming17:09:04

It’s actually surprisingly hard to get lein to download source jars

luxbock17:09:56

I would be happy if it did this if the sources jar exists, and leave it up to the user to download it

luxbock17:09:04

at least that should be easier to get working first

cfleming17:09:50

Yeah, what you really don’t want to do is to always try to download them. I tried that initially but it’s horrendously slow because most Clojure jars don’t have source artifacts.

cfleming17:09:13

So they don’t exist in your repo, and every time you try to sync it will go out to every repo for every jar looking for them.

cfleming17:09:23

I removed that functionality simple_smile

cfleming17:09:27

Now it’s only on-demand.

cfleming17:09:56

So they don’t exist in your local repo (.m2), I mean.

luxbock17:09:04

right now whenever I need to check stuff I just find RT.java from my browser history, but lately I've been looking for it far too often

luxbock17:09:01

it's hard to remember how all of the interfaces of Clojure work

cfleming17:09:31

Yeah, I actually have no idea how all the seq interfaces hang together, in particular

cfleming17:09:01

That sort of navigation is something that Cursive (via IntelliJ) does really well - the interop support is very nice.

luxbock17:09:51

unfortunately I'm far too pot commited to Emacs by this point 😛

cfleming17:09:05

Hehe, yeah, those keystrokes get down into the reptilian hindbrain

luxbock17:09:29

I wrote my own structural editing minor-mode for evil which is at 1.9k lines now, so I couldn't do it

cfleming17:09:36

Interesting. The interaction between IdeaVim and paredit has been really problematic in Cursive. I’m going to look at it at some point - I’ll reach out to you when I do for some feedback, if you don’t mind.

cfleming17:09:51

I don’t use vi bindings myself so it’s all a little impenetrable.

luxbock17:09:05

yeah sure, I'll probably have some gifs of it working out by then

luxbock17:09:25

this is it

phil_r18:09:19

oh man, is that like vim-sexp for emacs??

luxbock18:09:03

@phil_r I never actually used Vim so I don't know

luxbock18:09:24

I did some early research on what similar modes for Vim were doing however

cfleming18:09:49

@luxbock: That looks very interesting. I like the cut/paste behaviour, I’m planning to implement something similar in Cursive. In that case, when the user pastes something that will unbalance I can actually pop up a small editor which will mark unbalanced parens in the pasted text, and they’ll be able to edit it before pasting.

luxbock18:09:28

@cfleming yeah I use it all the time when I want to copy a let-statement without its body for example

phil_r18:09:17

@luxbock: I'm definitely gonna try this out; I come from vim and I've been trying to move over to spacemacs

cfleming18:09:35

I actually like the idea of modal editing - I wish Kent Beck etc had open-sourced Prune, it sounded really interesting.

luxbock18:09:35

@phil_r cool. I'm using Spacemacs as well

luxbock18:09:17

Bedtime. Will have to leave the Clojure Java source stuff for tomorrow

cfleming18:09:55

@luxbock: Cool - let me know if you want the code I use to download the actual sources.

cfleming18:09:19

Prompting the user to do so and detecting when to do it is all done by IntelliJ.

luxbock18:09:21

Yeah I'll get back to you tmrw, thanks :)

luxbock18:09:33

@phil_r there's a few fixes and features I haven't pushed out yet. Will do that tomorrow as well

cfleming18:09:46

Cool, I’ll be travelling but will reply when I can.

phil_r18:09:02

@luxbock this is already great stuff for me, very intuitive

akiva20:09:18

For those who aren’t aware, there is an #C050AN6QW channel.