clojure-lsp icon indicating copy to clipboard operation
clojure-lsp copied to clipboard

Could work on edn files

Open mynomoto opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. I have some edn configuration files that references keywords from code and would like to find-references to navigate to the files. I have a bb.edn with tasks and would like to find code errors on them.

Describe the solution you'd like clojure-lsp features that make sense would work on edn files.

Describe alternatives you've considered I use grep to find keywords and hope that they are explicit on the code and if I find one I use find-references to find others. Or I add the keyword to some clojure file and use find-references there. I hope that my bb.edn files have no errors that clojure-lsp could have found.

mynomoto avatar Nov 09 '21 21:11 mynomoto

yeah, that makes sense indeed, we would need to make first clj-kondo understand and provide analysis for .edn files, WDYT @borkdude?

ericdallo avatar Nov 09 '21 22:11 ericdallo

@ericdallo yes

borkdude avatar Nov 09 '21 22:11 borkdude

I'm also interested in this, per a discussion on Slack https://github.com/clj-kondo/clj-kondo/issues/1926 has been created to track the feature in kondo, after which it should be possible to implement :)

elken avatar Dec 22 '22 14:12 elken

@ericdallo This can be closed now yes?

elken avatar Jan 26 '23 13:01 elken

Yay!

ericdallo avatar Jan 26 '23 16:01 ericdallo