In most IDEs or text editors, you can right-click a term and it takes you to the file where that term is defined. CoqIDE doesn't seem to have that, so I've been doing coqdoc myfile.v --html
, then going to the generated HTML docs. But the only clickable terms in that file are for Coq Standard Library. Terms defined by ssreflect (for example) aren't clickable.
Is there a standard way to be able to quickly lookup where some term/identifier is defined (and the source code for it) when in a Coq file? Either in the CoqIDE or in emacs + ProofGeneral (I'm using CoqIDE, but I'd switch if emacs/ProofGeneral had this ability).
Or is the standard way to generate docs for every Coq project and dependency you use?
finType
gives this: "Notation Ssreflect.fintype.Finite.Exports.finType" (which is helpful). But is there a way for it to link me to the source code, or the docs somehow? So instead it would go to coqfinitgroup.gforge.inria.fr/doc/… (or something along those lines, maybe the local copy of ssreflect source code or similar) – Retiary