Fork me on GitHub
#lsp
<
2023-02-15
>
eighttrigrams20:02:00

Hey, with regards to the linked question, @pez redirected me here with the info that it could be a classpath problem. Must I configure in .lsp to exclude certain paths?

ericdallo20:02:59

If you want to exclude the resources folder you should change the :source-paths-ignore-regex setting, https://github.com/clojure-lsp/clojure-lsp/blob/master/docs/all-available-settings.edn#L6 the value is only exclude target folder. so something like that should work: .lsp/config.edn

{:source-paths-ignore-regex ["target.*" "resources.*"]}

🙏 2
eighttrigrams20:02:45

cool, that worked! i needed to remove .lsp/.cache first and then after a restart of the lsp server it worked! thank you @UKFSJSM38

👍 4