Fork me on GitHub
#cursive
<
2018-06-08
>
claudiu12:06:08

any ideas why auto-formatting my code would break

#?(:clj [fulcro.client.dom-server :as dom])
turning it into
#?(:clj)    
[fulcro.client.dom-server :as dom]
?

claudiu12:06:07

for #?(:cljs everything seems ok

rnagpal13:06:14

In scala, Java, or Typescript Intellij will show the parameter name when the function is called

rnagpal13:06:34

might be good to have that feature

Björn Ebbinghaus15:06:19

Is there any way to resolve macro generated symbols, which are not corresponding to existing patterns? I want to use something like this, but the warnings are driving me crazy.

(defaction my-action
  :contexts [a b]
  :parameters [c d]
  (do-something-with a b c d)

favila15:06:22

are there any options for getting a tool window (terminal, run-command, etc) to support paredit?

favila15:06:07

the higher-level problem is I have a repl via a socket or pipe (stdin/out) but I want to use it from cursive with parediting

favila15:06:36

(I am fine with not having any fancy code-aware features)

spieden18:06:04

does focus fail to return to the editor after closing the REPL window for anyone else? i.e. with the “REPL” action bound to a key my cursor winds up nowhere when i use i to close the window. hitting escape works fine to return focus to the editor (but REPL window then stays open)

favila20:06:44

Omg yes I am getting this too. After using an action dialog (like double shift or control -a or anything like that) I’ll get a zombie focus where no cursor appears and it doesn’t seem to receive modifier key presses but some things (arrow keys) act like the cursor is still there

favila20:06:10

I think it is IntelliJ 2018.1. I’m on Ubuntu

favila20:06:18

This is extremely annoying. I usually have to click the mouse somewhere

cfleming07:06:52

That first one cites comments in the 2018.1.4 release blog post, which said that downgrading to 2018.1.3 fixed the problem.

cfleming07:06:30

Here’s a similar bug saying that it’s fixed in the 2018.2 EAP: https://youtrack.jetbrains.com/issue/IDEA-181590

spieden17:06:31

@U09R86PA4 @U0567Q30W issue is still there in 2018.2 EAP and 2018.1.3 for me on the mac. i’ve tried swapping in various other JDKs with 2018.1.4 as well with no luck

cfleming18:06:17

@U0HM5MJ5V Ok, it might be worth filing a YouTrack issue then.

cfleming21:06:21

@U0HM5MJ5V @U09R86PA4 Could this be your issue? https://youtrack.jetbrains.com/issue/IDEA-191839 It’s reported fixed in 2018.1.5, out now.

spieden21:06:02

hmm, i’m not getting the behavior described. e.g. when the focus is lost keyboard navigation doesn’t work

spieden21:06:24

i’ve had this type of issue before and it was eventually fixed by jetbrains i believe

spieden21:06:42

.. so if cursive hasn’t had changes in a relevant area and not everyone is experiencing this shrug

spieden21:06:05

just means i make my repl window smaller =)

spieden18:06:37

i’m only experiencing this in 2018.1/2EAP i think — seems like it may be a general intellij issue