Skip to content

Can't jump to specs in .cljc files #2183

@conan

Description

@conan

I often have a .cljc file that contains specs that are shared between my clojure and clojurescript applications. Ctrl+clicking on a spec keyword that's registered in a .cljc file doesn't do anything.

For example:

(s/fdef login-url
  :args (s/cat :config :signal.web/config
               :target-uri :cervest/url)
  :ret :cervest/url)

Ctrl+clicking on :cervest/url there doesn't take me to the .cljc file where that spec is registered, despite the .cljc file being required at the start of my namespace. Ctrl+clicking on :signal.web/config does take me to the spec definition, which is in a .clj file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions