Skip to content

About

Clojure LSP plugin for Claude Code

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

clojure-lsp-cc

Clojure LSP integration for Claude Code - provides code intelligence for Clojure files.

Supported Extensions

.clj, .cljs, .cljc, .edn

Prerequisites

Install clojure-lsp: https://clojure-lsp.io/installation/

Installation

claude plugin marketplace add Cyrik/clojure-lsp-cc
claude plugin install clojure-lsp-cc@clojure-lsp-cc

Claude.md

It helps to nudge claude a little to use lsp over grep, otherwise it defaults to what it knows. Putting the following into claude.md is what I do:

## Code Intelligence

Prefer LSP over Grep/Glob/Read for code navigation:
- `goToDefinition` / `goToImplementation` to jump to source
- `findReferences` to see all usages across the codebase
- `workspaceSymbol` to find where something is defined
- `documentSymbol` to list all symbols in a file
- `incomingCalls` / `outgoingCalls` for call hierarchy

Before renaming or changing a function signature, use
`findReferences` to find all call sites first.

Use Grep/Glob for text/pattern searches (comments, strings,
config values, Datalog rule names) where LSP doesn't help.

Tip: `goToDefinition` may need multiple hops for aliased
namespaces (e.g., `auth-service/foo` → alias → actual fn).

About

Clojure LSP plugin for Claude Code

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors