Fork me on GitHub
#calva
<
2021-07-30
>
introom15:07:49

Does Calva has any support on auto sorting the (ns require) form?

pez15:07:32

Yes. Though I think it might also clean unused requires and such.

introom15:07:55

Are you referring to the clean ns function?

introom15:07:17

Can I have Calva automatically perform that function?

pez16:07:16

No, it's an on demand thing. So, maybe not so auto...

👍 2
introom16:07:19

Is it possible to always keep the project ns always at the end?

introom16:07:17

I updated move some file. But Calva still thinsk the definition is the old file (which no longer exist). How do I teach Calva to refresh the clj-kondo analysis?

borkdude16:07:59

@i rm -rf .clj-kondo/.cache; rm -rf .lsp/sqlite.db

borkdude16:07:03

and then refresh your editor

ericdallo16:07:58

you only need to refresh your editor as the issue/changes are related to the project source, not external deps

ericdallo16:07:07

but usually you should not have that kind of issue unless you edit files outside the IDE and doesn't have file watchers enabled (which I think it's enabled by default on vscode)

introom16:07:44

By refresh editor. Are you saying the >Developers reload window, or?

yes 2
👍 2
otwieracz20:07:59

Hey, I am noticing this weird behavior - not really even sure what’s causing that. But I am using Vim with Calva and seems like sometimes it stops respecting word boundaries when running Vim command. w and b should stop on - in foo-bar but sometimes it starts ignoring those and moves through whole “big word”. I think it happens to me only with Calva. Does any of you seens such behaviour?