Fork me on GitHub
#cider
<
2020-07-20
>
vemv13:07:24

Sometimes (probably rarely, and only in large codebases), in a specific ns, a specific macro will not get recognised as such, so I lose syntax highlighting and indentation rules for that specific macro That very same macro, in all other ns'es will get recognised properly. Does this sound familiar? Currently or in the past few years? (I use a version-frozen CIDER from circa 2017 so this may have been fixed)

bozhidar13:07:49

Haven’t seen this, but you should probably upgrade at some point. I think today CIDER is much better than 2017. πŸ™‚

vemv23:07:17

Thanks, I appreciate knowing that this is bit of an odd issue to have. Definitely want to upgrade, it just doesn't happen to be trivial with all my forked stuff πŸŒ€

magra14:07:21

Hi, I have a fulcro project. At the moment I jack-in-clj&cljs via shadow-cljs. It works on the whole but I have conflikting jvm opts for the backend and the UI. I now have different aliases in deps.edn. I want to have cljs and clj to have two separate jvms with two separate nrepl connections to allow for the backend and UI to be independent of each other (and run with separate jvm-opts). When I jack in to one of them and then try to jack-in to the other I get a message that there is already a connection and whether I want to connct a sibling instead, which is what I do not want since it would get me conflicting jvm-opts. Is there a way to do this or should I switch to starting the jvms by hand and then cider-connect?

dpsutton15:07:19

i think sibling is different than what you are reading into it.

dpsutton15:07:31

jack in clj and then jack in cljs and have them be siblings. should work fine

magra15:07:50

@dpsutton Thanks! I think you are right. I was so damned sure what it does from "experience" from a year ago.

dpsutton15:07:40

awesome! i haven't really delved into sesman and sessions and what exactly sibling means. but i agree with you that its a word that brings a lot of connotations

dpsutton15:07:49

made me nervous the first few times i used it too

magra15:07:50

You won't believe how much misconfiguration of my dev environment I did to work around this misconception of mine.

dpsutton15:07:56

haha πŸ™‚