Fork me on GitHub
#calva
<
2020-09-05
>
borkdude11:09:47

Does Calva sometimes push preview versions to the marketplace? Is this a concept in VSCode - pushing an experimental version that isn't installed automatically?

borkdude11:09:09

I'd like to do this for clj-kondo maybe

borkdude11:09:20

I guess one could also just make a vsix for people to download, that's probably the way to go

sogaiu11:09:56

fwiw, for some vscode extensions, i've put the latest release version's .vsix in the corresponding source repository: https://github.com/sogaiu/vscode-clojure-defs

pez11:09:00

Distributing VSIX files is the only way I know about to do this, @borkdude

pez11:09:50

We quite often publish such VSIX files here. You are more than welcome to publish previews of the clj-kondo extension here as well.

borkdude11:09:51

I'd rather not put it in the repo itself, but rather attach it to some issue @sogaiu

sogaiu11:09:17

whatever works for you 🙂

borkdude11:09:53

@pez Cool. Let me try that for the new ignore feature.

sogaiu11:09:01

you know the vscode ui provides an install from vsix option right?

borkdude11:09:48

yeah. it's pretty cool how this all works

sogaiu11:09:00

just checking 🙂

borkdude11:09:55

That version has the ability to ignore warnings based on annotations. See examples: https://github.com/borkdude/clj-kondo/issues/872#issuecomment-686760114

borkdude11:09:17

Simple example:

(defn f []
  #_{:clj-kondo/ignore [:inline-def]}
  (def x))

sogaiu11:09:13

just tried it -- seems to be working 👍