Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create .clj-kondo folder if not exists in project root #528

Closed
ericdallo opened this issue Aug 25, 2021 · 0 comments
Closed

Create .clj-kondo folder if not exists in project root #528

ericdallo opened this issue Aug 25, 2021 · 0 comments
Assignees
Labels
bug Something isn't working editor Related to clojure-lsp on a text editor

Comments

@ericdallo
Copy link
Member

ericdallo commented Aug 25, 2021

This would probably solve a lot of issues with clj-kondo .cache dir not being created, making the project not aware of external deps.

There was no .clj-kondo dir, clojure-lsp called clj-kondo that linted classpath and lsp saved .lsp/sqlite.db , but nothing saved on .clj-kondo/.cache as the dir was not there. After creating the .clj-kondo folder we need to re-scan the classpath to fulfill the clj-kondo cache folder, that's why removing .lsp/sqlite.db should fix it, WDYT?

We could create a .clj-kondo/config.edn with a empty edn with comments about how to configure it as well as suggested by @borkdude

@ericdallo ericdallo added bug Something isn't working editor Related to clojure-lsp on a text editor labels Aug 25, 2021
@ericdallo ericdallo self-assigned this Sep 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working editor Related to clojure-lsp on a text editor
Projects
None yet
Development

No branches or pull requests

1 participant