brcosta / clj-extras-plugin

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

Don't ask for "permission" to analyze classpath if .clj-kondo folder exists #19

Closed ivarref closed 2 years ago

ivarref commented 2 years ago

Hi, and thanks for an excellent plugin!

Every time I open a project (quite frequent), I'm always asked if I want to use clj-kondo/Analyze Classpath.

I think it would make sense to automatically analyze Classpath if the .clj-kondo folder exists in the project directory. Would it be possible to make clj-extras do this?

image

borkdude commented 2 years ago

And maybe additionally: clj-extras-plugin could ask to create a .clj-kondo directory in the project root if it didn't exist yet.

brcosta commented 2 years ago

Fixed in master, it'll now automatically analyze dependencies if the project already has a .clj-kondo directory, else it will show the notification and create a .clj-kondo directory if the user chooses to run it. Thanks for the tips!

ivarref commented 2 years ago

Thanks a lot! :+1: