Fork me on GitHub
#cursive
<
2022-06-27
>
Jeffrey Bay17:06:21

the codebase i'm in has several "multi-def" macros, where the code looks like:

``````(this-macro-defines-each-arg
arg1
arg2
arg3
...)``````
Is there any way to tell it about this so that it will "know" that all of these symbols are def'd here? I.e., treat it as a `(def` form for each symbol encountered? I tried telling it it was a `def` but that only gets the first one (which makes sense as that's how `def` works...)

imre19:06:08

try telling it to treat as declare

Jeffrey Bay15:06:25

that worked, btw, sorry, i meant to reply that, thanks much!

imre15:06:37

Nice. It is fortunate that your macro behaves similarly to declare, unfortunately there isn't too much flexibility in Cursive right now in this area

wilkerlucio19:06:18

is there a way to export/import REPL commands?

imre19:06:43

``````#\$ ~/Library/Application Support/JetBrains/IdeaIC2022.2/options
; ls repl-commands.xml
repl-commands.xml``````

imre19:06:05

I have it symlinked to my dotfiles

wilkerlucio13:06:26

thanks, that worked great!

imre13:06:48