Fork me on GitHub
#cursive
<
2019-01-28
>
leena11:01:51

Hi, IntellijIdea and Cursive users, how do you make Idea to recognise HugSQL functions?

serioga20:01:07

I declare them in corresponding namespace.

serioga20:01:25

Also in latest projects I use custom macro to generate functions from multiple sql files (one file is one function) and resolve this macro as declare.

scarytom14:01:58

I'm using "run tests in current NS in repl" to run my tests, but when I rename a test, it keeps re-running my old test unless I run a remove-ns. Is there a way to have "run tests in current NS in repl" automatically remove-ns before it runs? I think this is probably the least surprising behaviour.

serioga20:01:25

Also in latest projects I use custom macro to generate functions from multiple sql files (one file is one function) and resolve this macro as declare.