You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(ns example
(:require [specs :as specs]))
(def people
[{::specs/name "John"}
{::specs/name "Jane"}])
From example.clj navigating to the ::specs/name declaration doesn't work. Viewing the usage only shows the two usages in the example namespace.
From specs.cljc file, navigating to the ::name declaration works, but finding usages only shows the usage in the CLJC file, not the two in example.clj.
Convert specs.cljc to CLJ.
"Navigate to Declaration" and "Find Usages" work properly.
The text was updated successfully, but these errors were encountered:
IntelliJ IDEA 2018.1 (Community Edition)
Build #IC-181.4203.550, built on March 26, 2018
JRE: 1.8.0_152-release-1136-b20 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.12.6
Not being able to properly browse through the definitions on complex projects creates a lot of unnecessary friction by requiring to do manual full-text searches / browsing. Would be cool to have a fix for that. Thanks.
Clojure Spec definitions defined in CLJC files do not work with "Navigate to Declaration" or "Find Usages" in CLJ and CLJS files.
Steps to reproduce:
specs.cljc
example.clj
example.clj
navigating to the::specs/name
declaration doesn't work. Viewing the usage only shows the two usages in theexample
namespace.specs.cljc
file, navigating to the::name
declaration works, but finding usages only shows the usage in the CLJC file, not the two inexample.clj
.Convert
specs.cljc
to CLJ."Navigate to Declaration" and "Find Usages" work properly.
The text was updated successfully, but these errors were encountered: