Fork me on GitHub
#cursive
<
2016-10-12
>
gerred02:10:05

will cursive work with multiple nrepls running at the same time? what about having a lein-figwheel nrepl and a standard clojure repl going?

gerred02:10:53

ah multiple tabs, I see it working

stijn09:10:32

@cfleming I'm having trouble with structural editing. Context: paredit is turned on, but when I edit the following form, it does something weird.

stijn09:10:50

(def m
  {|:a :b})

stijn09:10:56

| is the cursor

stijn09:10:04

I press enter

stijn09:10:22

(def m
  {
   |:a
   } :b})

stijn09:10:00

is there a way to reset a possible wrong state of the editor that causes this?

stijn09:10:14

restarting intellij still results in this behaviour

stijn09:10:41

invalidate caches doesn't help either

stijn09:10:10

ok, it happens when parens are unbalanced, but paredit mode shouldn't do this, right?

imre12:10:59

any chance you have parinfer on?

stijn12:10:21

no paredit is on

stijn12:10:36

it also happens when structural editing is off

stijn12:10:49

i'll try to create a small example, but I fixed the parens matching and it seems hard to reproduce 🙂

cfleming13:10:33

@stijn If you can come up with an example of that, that would be great.

cfleming13:10:08

I'll try your example above when I can, my work laptop is in with Apple at the moment.

cfleming14:10:26

@puzzler Unfortunately there's no way to do what you'd like there. There will be in the future, but until then I'll have to add that. I'll add support for those forms, which should be easy since they're very similar to existing forms. I'm also very interested to try them out.