Skip to content

Calva adds .lsp and .clj-kondo folders to every VSCode project #2610

Open
@evaogbe

Description

@evaogbe

Steps to reproduce

  1. Create a folder with files that aren't related to Clojure, e.g. .rs files
  2. Open the folder in VSCode

Expected outcome

No Clojure files get generated

Actual outcome

.clj-kondo/.cache/v1/lock and .lsp/.cache/db.transit.json get generated

Versions

  • MacOS Sonoma
  • VSCode 1.92.2 (Universal)
  • Calva v2.0.467

I've had this issue for months, so it's been a problem with older versions as well

Additional notes

This happens whenever I open a project and also whenever I refresh extensions due to updates. It happens even if I don't interact with the Calva Inspector. I have never installed Joyride.

Calva settings:

"calva.fmt.configPath": "CLOJURE-LSP",
"calva.evalOnSave": true,
"calva.testOnSave": true,
"calva.useLegacyReplWindowPath": false,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions