Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ hs_err_pid*

servers/
target/
build/
bin/
*.log
*.log.*.gz
Expand Down
12 changes: 11 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ sts4/
│ └── boot-dev-pack/ # Extension pack bundling Spring Boot extensions
├── nodejs-packages/ # Shared Node.js utilities
└── claude-plugins/ # Claude Code plugin (standalone LS + MCP server)
├── spring-tools/ # Plugin source
├── spring-tools/ # Plugin source (skills, hooks, explanations/<CODE>.md playbooks)
├── tools/ # Node.js checker + tests keeping the playbooks in sync with the LS
├── research-notes/ # TODO_quickfixes.md: problem code → quick fix → playbook coverage table
└── update-local-jars.sh # Rebuilds the standalone LS JAR for the plugin
```

Expand Down Expand Up @@ -92,6 +94,13 @@ cd claude-plugins
./update-local-jars.sh # Rebuild and copy the standalone LS JAR into the plugin
```

Every diagnostic code needs a playbook `claude-plugins/spring-tools/explanations/<CODE>.md` and a row in `claude-plugins/research-notes/TODO_quickfixes.md`. When adding or renaming a problem type, run from the repository root (details in `claude-plugins/spring-tools/README.md`):

```bash
node claude-plugins/tools/check-explanations.mjs --require-all --todo --links
npm --prefix claude-plugins/tools test
```

## Running Tests

```bash
Expand Down Expand Up @@ -139,6 +148,7 @@ IDE Client (VSCode/Eclipse) ←—LSP over stdio/socket—→ Java Language Serv

- The full Spring Boot LS (`spring-boot-language-server`) requires JDT Language Server in the same process for Java type resolution
- The standalone variant (`spring-boot-language-server-standalone`) resolves types via Maven/Gradle classpath + Jandex indexing — used by the Claude Code plugin
- In the plugin the LSP transport is disabled (`-Dlanguageserver.enabled=false`), so no document is ever "open": the `getProjectDiagnostics` MCP tool only sees what the indexers produce — Java diagnostics from `SpringIndexerJava`, config-file diagnostics (`application*`, `bootstrap*`, `*.factories`) from `SpringIndexerConfigFiles`, plus the build-file version validation

### Key Commons Modules

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Depending on your development environment, you can choose between:

- __Visual Studio Code:__ We provide extensions for Visual Studio Code if you prefer this lightweight editor for your development.
- __Cursor:__ We provide extensions for Cursor if you prefer this lightweight editor for agentic development.
- __Claude Code:__ The Spring Tools plugin for Claude Code brings more Spring smartness to Claude.
- __AI coding agents:__ The Spring Tools Language Server agent plugin provides Spring-aware MCP tools and skills for Claude Code, GitHub Copilot CLI and Codex; OpenCode can connect to the same server over MCP.
- __Spring Tools for Eclipse distribution:__ a ready-to-use distribution of the latest Eclipse Desktop IDE, prepackaged with Spring Tools and a few additional third-party extensions. Download, unpack, and start.
- __Spring Tools for Eclipse extensions:__ you can install the Spring Tools for Eclipse into an existing Eclipse Desktop IDE installation and use it from there.
- __Eclipse Theia:__ You can install the same extensions into Theia-based environments like gitpod.
Expand Down
2 changes: 1 addition & 1 deletion RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ publishes atomically in one shot, so verification has to happen locally

| # | Step | Workflow | Key inputs |
|---|------|----------|------------|
| 1 | Test locally | — manual | Run [`claude-plugins/update-local-jars.sh`](claude-plugins/update-local-jars.sh) to build the standalone LS jar from the current `headless-services` snapshot and drop it into `spring-tools/language-server/`, then exercise the plugin through the local `spring-tools-local` marketplace ([`claude-plugins/.claude-plugin/marketplace.json`](claude-plugins/.claude-plugin/marketplace.json)) |
| 1 | Test locally | — manual | Run [`claude-plugins/update-local-jars.sh`](claude-plugins/update-local-jars.sh) to build the standalone LS jar from the current `headless-services` snapshot and drop it into `spring-tools/language-server/`, then run the automated checks from the repository root — `node claude-plugins/tools/check-explanations.mjs --require-all --todo --links`, `node claude-plugins/tools/check-plugin-config.mjs`, `node --test 'claude-plugins/tools/test/*.test.mjs'` and the end-to-end `node claude-plugins/tools/smoke/mcp-smoke.mjs` (the same checks CI runs in [`claude-plugin-check.yml`](.github/workflows/claude-plugin-check.yml)), run the behavioral eval suite with a logged-in Claude Code (`cd claude-plugins/spring-tools && claude plugin eval . --no-publish`, or dispatch the `plugin-evals` job of that workflow) — and exercise the plugin through the local `spring-tools-local` marketplace ([`claude-plugins/.claude-plugin/marketplace.json`](claude-plugins/.claude-plugin/marketplace.json)) |
| 2 | Release (build + publish) | [`release-standalone-ls.yml`](.github/workflows/release-standalone-ls.yml) | `dist: release` — builds the standalone LS jar, uploads it to the CDN, tags the repo `v<version>`, and updates the release marketplace's `marketplace.json` to point at that tag |

(Nightly/on-demand snapshot builds of the plugin are handled separately by
Expand Down
4 changes: 3 additions & 1 deletion claude-plugins/spring-tools/.gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
language-server/
node_modules/
node_modules/
boot-ls.log
evals/results/
Loading