brcosta / clj-extras-plugin

Clojure Extras IntelliJ Plugin
https://plugins.jetbrains.com/plugin/18108-clojure-extras/
Apache License 2.0
56 stars 12 forks source link

CLJS: known symbols report as unresolved #4

Closed ingesolvoll closed 2 years ago

ingesolvoll commented 2 years ago

Seeing some strange behaviour using Cursive + clojure extras + clj-kondo. A number of vars are reported as unresolved, while they are clearly not. Only inside cursive, not in clj-kondo CLI

image

Context: https://clojurians.slack.com/archives/CHY97NXE2/p1642013162080500

borkdude commented 2 years ago

If you send the filename including the extension with the :filename argument, then clj-kondo can infer that this is a CLJS file and the warning should go away.

borkdude commented 2 years ago

Should be solved on master already.

brcosta commented 2 years ago

Solved on 0.4.5 (already in the marketplace)