Fork me on GitHub
#calva
<
2020-03-26
>
borkdude09:03:19

I'm trying to use Calva for debugging an nREPL server. But I'm getting this when running in debug mode.

borkdude09:03:47

I had to restart my Macbook Pro because of some security update. Then I had to clone Calva again and add the console logs. Since then it's not working anymore. Maybe there's some stale state in VSCode?

borkdude09:03:19

Also, is there a way to build calva but not starting the watch task?

pez09:03:30

Are you using the PR-build I made for this?

borkdude10:03:34

which PR build?

borkdude10:03:44

I was using master

grounded_sage12:03:45

Is there a way to temporarily turn off the linter?

pez12:03:45

Yes, disable clj-kondo in the Extensions tab.

pez12:03:11

Remember to re-enable it! 😃

grounded_sage12:03:07

Yea for sure! I just have a 140+ line Meander function. And the logic variables all have squiggly lines. So it’s hard to read at times lol

borkdude12:03:59

@grounded_sage You can use a .clj-kondo/config.edn to deal with that

grounded_sage12:03:06

@borkdude last time I chatted with you it wasn’t possible to disble it for symbols with the ? prefix. Has this changed?

borkdude12:03:46

it has not changed, but you can ignore all unresolved symbols within a certain function call, which is still better than having no linting at all

grounded_sage12:03:01

Okay that seems like a good strategy

borkdude12:03:00

that's the strategy for dealing with most unsupported macros

borkdude12:03:04

that or :lint-as

grounded_sage12:03:32

Thanks! I will take a closer look

danimartinprieto14:03:15

Hi there! Calva’s clj-kondo helps me detect when a require is not alphabetically sorted, but I’d love that Calva formats this automatically when I save the file, can it be done?

pez14:03:33

Not yet implemented, @danimartinprieto , please check if there is an issue about it.

danimartinprieto14:03:04

alright, I will and if it’s not there should I create it?

pez14:03:40

Awesome, @danimartinprieto, thanks!