Skip to content

Include squint.edn as a project-spec #2158

@rafaeldelboni

Description

@rafaeldelboni

Is your feature request related to a problem? Please describe.
A easy way to say to clojure-lsp to use cljs data to decorate core functions on squint projects

Describe the solution you'd like
Be able to declare this on .lsp/config.edn and having a dev alias on squint.edn with clojurescript as :extra-deps

{:project-specs [{:project-path "squint.edn"}]}

Should enable lsp to use cljs data on the analysis.

Describe alternatives you've considered
You can make this works currently with the following .lsp/config.edn file:

{:project-specs [{:project-path "squint.edn"
                  :classpath-cmd ["clojure" "-Spath" "-Sdeps" "squint.edn" "-A:lsp"]}]}

And having this on squint.edn file:

... 
:aliases {:lsp {:extra-deps {org.clojure/clojurescript {:mvn/version "1.12.42"}}}}
...

Additional context
This issue is based on this slack thread:
https://clojurians.slack.com/archives/CPABC1H61/p1763498028675579

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    Status

    Next release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions