clojure-lsp / clojure-lsp-intellij

Intellij Plugin for Clojure & ClojureScript development via Language Server (LSP) made in Clojure
https://clojure-lsp.io
MIT License
76 stars 5 forks source link

Plugin creates .clj-kondo and .lsp in non-clojure projects #20

Closed sethlivingston closed 10 months ago

sethlivingston commented 10 months ago

After installing the (wonderful, thank you!) plugin, all of my projects in WebStorm get a .clj-kondo and .lsp folder:

WW05oQUQ@2x

I would only expect this if there was a clojure(script) file in the project.

It's also trying to handle JavaScript rename refactoring:

QXYBwytT@2x
ericdallo commented 10 months ago

Hey @sethlivingston, thanks for the report! Hum, interesting, so any non clojure proejct also is starting clojure-lsp unnecessarily, I think we should check if the project is a clojure one before that

ericdallo commented 10 months ago

About the rename, I'll check if I can bound that only for Clojure language

ericdallo commented 10 months ago

Fixed! should be available soon on 0.11.2 in some days