{"id":31546826,"url":"https://github.com/albertocavalcante/groovy-lsp","last_synced_at":"2025-12-24T20:20:50.678Z","repository":{"id":316515112,"uuid":"1063688755","full_name":"albertocavalcante/groovy-lsp","owner":"albertocavalcante","description":"Language Server Protocol implementation for Apache Groovy","archived":false,"fork":false,"pushed_at":"2025-10-02T10:54:34.000Z","size":706,"stargazers_count":0,"open_issues_count":14,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-02T11:34:34.794Z","etag":null,"topics":["groovy","lsp","vscode"],"latest_commit_sha":null,"homepage":"","language":"Kotlin","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/albertocavalcante.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2025-09-25T01:38:43.000Z","updated_at":"2025-10-02T10:22:36.000Z","dependencies_parsed_at":"2025-10-02T11:23:35.120Z","dependency_job_id":null,"html_url":"https://github.com/albertocavalcante/groovy-lsp","commit_stats":null,"previous_names":["albertocavalcante/groovy-lsp"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/albertocavalcante/groovy-lsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertocavalcante%2Fgroovy-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertocavalcante%2Fgroovy-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertocavalcante%2Fgroovy-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertocavalcante%2Fgroovy-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/albertocavalcante","download_url":"https://codeload.github.com/albertocavalcante/groovy-lsp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/albertocavalcante%2Fgroovy-lsp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278335450,"owners_count":25970129,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["groovy","lsp","vscode"],"created_at":"2025-10-04T15:56:02.632Z","updated_at":"2025-12-24T20:20:50.673Z","avatar_url":"https://github.com/albertocavalcante.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Groovy Language Server\n\nA Language Server Protocol (LSP) implementation for Apache Groovy.\n\n## Status\n\n⚠️ **Work in Progress** - This is an early development version with basic LSP functionality.\n\n## LSP Feature Support\n\nWe target **LSP Specification 3.17** and use `lsp4j` 0.24.0.\n\n| LSP Method | Feature | Status | Notes |\n| :--- | :--- | :---: | :--- |\n| **Lifecycle** | | | |\n| `initialize` | Initialize | ✅ | |\n| `shutdown` | Shutdown | ✅ | |\n| `exit` | Exit | ✅ | |\n| **Text Synchronization** | | | |\n| `textDocument/didOpen` | Open | ✅ | Triggers compilation \u0026 diagnostics |\n| `textDocument/didChange` | Change | ✅ | Full sync; triggers re-compilation |\n| `textDocument/didSave` | Save | ✅ | |\n| `textDocument/didClose` | Close | ✅ | Clears diagnostics |\n| **Language Features** | | | |\n| `textDocument/completion` | Completion | ✅ | Keywords + AST-based variables/methods |\n| `textDocument/hover` | Hover | ✅ | Type info \u0026 documentation |\n| `textDocument/signatureHelp` | Signature Help | ✅ | Method parameter hints |\n| `textDocument/formatting` | Formatting | ✅ | Via OpenRewrite |\n| `textDocument/publishDiagnostics` | Diagnostics | ✅ | Groovy compiler errors |\n| `textDocument/codeAction` | Code Actions | ⏳ | Planned (Quick fixes) |\n| `textDocument/rename` | Rename | ⏳ | Planned |\n| `textDocument/semanticTokens` | Semantic Tokens | ⏳ | Planned (Syntax highlighting) |\n| `textDocument/inlayHint` | Inlay Hints | ⏳ | Planned (LSP 3.17) |\n| **Navigation** | | | |\n| `textDocument/definition` | Go to Definition | ✅ | Symbols \u0026 Types |\n| `textDocument/typeDefinition` | Type Definition | ✅ | |\n| `textDocument/references` | Find References | ✅ | |\n| `textDocument/documentSymbol` | Document Symbols | ✅ | Outline view |\n| `workspace/symbol` | Workspace Symbols | ✅ | Global search |\n| `textDocument/foldingRange` | Folding | ⏳ | Planned |\n| `textDocument/implementation` | Implementation | ⏳ | Planned |\n\n## Framework Support\n\n- Spock: `docs/SPOCK_SUPPORT.md` (design + landing plan)\n\n## Requirements\n\n- Java 17 or higher\n- Groovy 4.0+\n\n## Building\n\n```bash\n./gradlew build\n```\n\nThis creates a fat JAR at `build/libs/groovy-lsp-0.1.0-SNAPSHOT.jar`\n\n## Running\n\n### Stdio mode (default)\n\n```bash\njava -jar build/libs/groovy-lsp-0.1.0-SNAPSHOT.jar\n```\n\n### Socket mode\n\n```bash\njava -jar build/libs/groovy-lsp-0.1.0-SNAPSHOT.jar socket 8080\n```\n\n## Development\n\nThis project uses:\n\n- Kotlin 2.0\n- LSP4J for protocol implementation\n- Gradle 9.1 for builds\n\n### Running tests\n\n```bash\n./gradlew test\n```\n\n### GitHub issue XML prompt generator\n\nGenerate a fenced `xml` prompt for a GitHub issue using the Codex CLI:\n\n```bash\n./tools/github-issues/generate-xml-prompt.sh ISSUE_NUMBER [--comment] [--model MODEL]\n```\n\nRequirements: `gh` (authenticated for the repo), `codex` CLI, and `jq` for parsing issue metadata. The tool asks Codex to return a pretty-printed XML block inside triple-backtick xml code fences; use `--comment` to post the output back to the GitHub issue instead of printing it locally. The default model is `gpt-5-codex`.\n\n### Project Structure\n\n```\nsrc/\n├── main/kotlin/         # LSP server implementation\n├── test/kotlin/         # Unit tests\n.spec/                   # Technical specifications\n.github/workflows/       # CI/CD configuration\n```\n\n## Contributing\n\nSee [CONTRIBUTING.md](CONTRIBUTING.md) for details.\n\n## License\n\nApache License 2.0 - See [LICENSE](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertocavalcante%2Fgroovy-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falbertocavalcante%2Fgroovy-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falbertocavalcante%2Fgroovy-lsp/lists"}