cursive

Issues at: https://git.io/cursive-issues
cfleming 2021-01-21T00:59:17.000100Z

Hmm, there’s definitely something odd going on there, I’ll take a look when I’m back at my computer.

2021-01-21T17:08:08.003200Z

hey there, at the minute in cursive when I try and use httpkit.client I get a warning that it can't resolve the functions. I had a quick look into it and it looks like it might be because httpkit uses a macro to generate the functions under client. Is it expected that cursive wouldn't figure them out? It's a minor annoyance but it would be nice to have autocomplete on these if possible. This is the bit of httpkit with the macros: https://github.com/http-kit/http-kit/blob/master/src/org/httpkit/client.clj#L297 and please see attached image for what cursive says about it

markaddleman 2021-01-21T17:12:13.003700Z

I just ran into this yesterday. I resolved by instructing cursive to resolve defreq as declare

2021-01-21T17:12:47.003900Z

ah that would be good! Could I ask where I would instruct cursive to do so?

markaddleman 2021-01-21T17:12:56.004100Z

Not a perfect solution but it keeps cursive from generating warnings

markaddleman 2021-01-21T17:14:13.004300Z

Sure. Go to defreq macro definition. Put the cursor on defreq and do an alt-enter

markaddleman 2021-01-21T17:14:29.004500Z

You'll get a popup menu with an option for "Resolve defreq as..."

markaddleman 2021-01-21T17:14:38.004700Z

Select "Specify"

markaddleman 2021-01-21T17:14:43.004900Z

and choose declare from the next menu

markaddleman 2021-01-21T17:15:28.005100Z

I'm giving these instructions from memory. If they aren't right, lmk

2021-01-21T17:17:18.005300Z

that did it, thanks very much! 🙂

👍 1