Fork me on GitHub
#cursive
<
2016-12-01
>
rauh06:12:33

same... Well, after a week

cfleming11:12:45

So I actually still use parinfer, but it does indeed drive me nuts sometimes. I’m still planning to try to create something like it which is less intrusive and more predictable.

cfleming11:12:51

What I like most about it is that I can do line-based operations (delete a line, duplicate a line) without thinking about parens. Probably the best thing to do is just to customise those actions to fix the parens up afterwards.

cfleming11:12:18

I’m conflicted about it, because I feel like it’s almost really great.

saeidscorp11:12:06

@cfleming it's not great at all. with paredit you can be certain that about what will happen when you press a key combination. parinfer is on a controversy itself, even if you add paren mode to cursive, it still slows down typing.

cfleming11:12:57

@saeidscorp Paredit is also deterministic, that’s an important part of its design.

cfleming11:12:18

I should also point out that the Cursive implementation has problems which are not inherent to parinfer itself.

cfleming11:12:43

For example, cutting and pasting doesn’t work well because IntelliJ tries to smartly indent when you paste, which doesn’t help things.

saeidscorp11:12:40

@cfleming will paren-mode be eventually part of cursive? :thinking_face: do you have any plan?

cfleming11:12:01

@saeidscorp It’s fairly easy to add. I deliberately didn’t add it because I don’t like the fact that you have to switch. My plan was to try to work out which mode to apply automatically, like this: https://github.com/DogLooksGood/parinfer-mode/blob/master/HOW_TO_WRAP_SEXP.org#more-ideas

cfleming11:12:16

Not necessarily using those exact rules, but something similar.

imre12:12:29

Been getting a lot of this lately:

imre12:12:25

CompilerException java.lang.IllegalStateException: Alias foo already exists in namespace something.bar-test, aliasing production-code.foo, compiling ...

imre12:12:10

when I try to execute tests in something.bar-test

imre12:12:14

even reloaded workflow won't help

imre12:12:05

I expect the problem's between the keyboard and the chair but wondering if anyone's faced this?

imre12:12:46

explicitly executing (remove-ns 'something.bar-test) seems to solve it

potetm16:12:25

@imre Sounds like you might actually have a duplicate alias somewhere. tools.namespace just does a remove-ns and a cleanup of *loaded-libs* during unloading.

wei22:12:13

Just upgraded to Cursive 1.4.0-2016.3 and getting this error when trying to run the REPL: ‘IDE SDK’ is bad configured (sic). any ideas on how to troubleshoot this?

wei22:12:20

^ nevermind, figured it out, needed to re-set the Java SDK