Commit Graph

4 Commits

Author SHA1 Message Date
01883ffbe0 Enable cross-repo navigation to project dependencies
SCIP Index / index (push) Successful in 1m30s
Previously external-ns? only included clojure.* and java.* namespaces,
missing project dependencies like tui.events. This prevented cross-repo
go-to-definition from working.

Changes:
- external-ns? now considers any non-internal namespace as external
- collect-external-symbols creates symbol entries even without runtime docs
- This enables hover and go-to-definition for dependency symbols

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 19:02:34 -05:00
79ce17106a Fix go-to-definition for vars imported via :refer
SCIP Index / index (push) Successful in 1m32s
When a namespace uses :refer to import specific vars (e.g.,
[tui.events :refer [key=]]), clojure-lsp only populates the :to
field on the :refer declaration entry, not on subsequent usages.

This fix:
- Builds a refer-map from entries with :refer true
- Looks up the target namespace for usages missing :to
- Properly links usages like (key= event \q) to their definition

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 18:31:10 -05:00
685d1eaa93 Improve local definition docs + add CI workflow
SCIP Index / index (push) Failing after 11s
- Add signature and arglists to local var documentation
- Resolve arglists at runtime since clojure-lsp doesn't provide them
- Add GitHub Actions workflow for SCIP indexing on push

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 17:41:14 -05:00
3f669b422a Initial commit: SCIP indexer for Clojure
Features:
- Generate SCIP index from clojure-lsp dump
- Namespace definitions and usages
- Var definitions and usages
- Namespace alias definitions and usage references
- External symbol documentation for hover

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-03 16:49:10 -05:00