Fork me on GitHub
#cursive
<
2022-01-20
>
Dumch10:01:04

If anyone want to comment a form with #_ with a shortcut, select a form vith 'vaf' (https://plugins.jetbrains.com/plugin/164-ideavim), here is how I managed to achieve this with https://plugins.jetbrains.com/plugin/7282-liveplugin (https://github.com/Liverm0r/dotfiles/commit/83f7940c878038cabf5db7f98e9f0e4a1cb20e51 to dotfiles)

🆒 2
J20:01:12

Hi cursive lovers! I’m wondering if there is a way to ignore this (when require a js lib with shadow-cljs)

Colin P. Hill22:01:22

My workaround has been to just demote unresolved symbols to a weak warning. Definitely not ideal, though.

thheller07:01:12

I do the same

thheller07:01:45

@U0567Q30W would it be possible to add an option to treat all string requires :refer or :as uses as valid? without any actual checks?

cfleming08:01:24

Yes, I’m planning fixes for this to the current EAP series.

❤️ 6
beders00:01:12

yeah, for js requires that would be terrific. Even more terrific if they are navigable 🙂

cfleming06:01:21

Being navigable will depend on how parseable the JS is. In my experience of looking at CommonJS modules, the answer is usually not much, sadly.

thheller07:01:25

there are a lot of libraries in JS that handle that sort of thing. unfortunately they are in JS and expecting node, would be neat to have a java/clj lib for that but so far I haven't found one

cfleming08:01:12

What would be some good examples of JS libraries handling this sort of thing?

thheller08:01:56

are the ones I can remember. there are others though.