{"id":48582525,"url":"https://github.com/zircote/scala-lsp","last_synced_at":"2026-04-08T17:34:11.671Z","repository":{"id":332147743,"uuid":"1126933496","full_name":"zircote/scala-lsp","owner":"zircote","description":"Claude Code plugin for Scala development with Metals LSP and scalafmt hooks","archived":false,"fork":false,"pushed_at":"2026-02-28T01:36:12.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-02-28T03:44:24.239Z","etag":null,"topics":["claude-code-plugin","code-quality","jvm","lsp","metals","scala"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zircote.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"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":null,"dco":null,"cla":null},"funding":{"github":"zircote"}},"created_at":"2026-01-02T21:03:23.000Z","updated_at":"2026-02-28T01:36:09.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/zircote/scala-lsp","commit_stats":null,"previous_names":["zircote/scala-lsp"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/zircote/scala-lsp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2Fscala-lsp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2Fscala-lsp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2Fscala-lsp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2Fscala-lsp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zircote","download_url":"https://codeload.github.com/zircote/scala-lsp/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zircote%2Fscala-lsp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31567056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["claude-code-plugin","code-quality","jvm","lsp","metals","scala"],"created_at":"2026-04-08T17:34:10.889Z","updated_at":"2026-04-08T17:34:11.663Z","avatar_url":"https://github.com/zircote.png","language":"Scala","funding_links":["https://github.com/sponsors/zircote"],"categories":[],"sub_categories":[],"readme":"# scala-lsp\n\n[![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)](CHANGELOG.md)\n[![License](https://img.shields.io/badge/license-MIT-green.svg)](LICENSE)\n[![Claude Plugin](https://img.shields.io/badge/claude-plugin-orange.svg)](https://docs.anthropic.com/en/docs/claude-code/plugins)\n[![Marketplace](https://img.shields.io/badge/marketplace-zircote--lsp-purple.svg)](https://github.com/zircote/lsp-marketplace)\n[![Scala](https://img.shields.io/badge/Scala-DC322F?logo=scala\u0026logoColor=white)](https://www.scala-lang.org/)\n\nA Claude Code plugin providing comprehensive Scala development support through:\n\n- **Metals** LSP integration for IDE-like features\n- **Automated hooks** for formatting, linting, and building\n- **Scala ecosystem** integration (Scalafmt, Scalafix, SBT)\n\n## Quick Setup\n\n```bash\n# Run the setup command (after installing the plugin)\n/setup\n```\n\nOr manually:\n\n```bash\n# Install Metals via Coursier\ncs install metals\n\n# Install development tools\ncs install scalafmt scalafix\n```\n\n## Features\n\n### LSP Integration\n\nThe plugin configures Metals for Claude Code via `.lsp.json`:\n\n```json\n{\n    \"scala\": {\n        \"command\": \"metals\",\n        \"args\": [],\n        \"extensionToLanguage\": {\n            \".scala\": \"scala\",\n            \".sc\": \"scala\",\n            \".sbt\": \"sbt\"\n        },\n        \"transport\": \"stdio\"\n    }\n}\n```\n\n**Capabilities:**\n- Go to definition / references\n- Hover documentation\n- Code completion\n- Refactoring support\n- Real-time diagnostics\n\n### Automated Hooks\n\n| Hook | Trigger | Description |\n|------|---------|-------------|\n| `scalafmt` | `**/*.scala` | Code formatting |\n| `scalafix` | `**/*.scala` | Linting and refactoring |\n| `scala-todo-fixme` | `**/*.scala` | Surface TODO/FIXME comments |\n\n## Required Tools\n\n| Tool | Installation | Purpose |\n|------|--------------|---------|\n| `metals` | `cs install metals` | LSP server |\n| `scalafmt` | `cs install scalafmt` | Formatting |\n| `scalafix` | `cs install scalafix` | Linting |\n\n## Project Structure\n\n```\nscala-lsp/\n├── .claude-plugin/\n│   └── plugin.json           # Plugin metadata\n├── .lsp.json                  # Metals configuration\n├── commands/\n│   └── setup.md              # /setup command\n├── hooks/\n│   └── scripts/\n│       └── scala-hooks.sh\n├── tests/\n│   └── SampleTest.scala      # Test file\n├── CLAUDE.md                  # Project instructions\n└── README.md                  # This file\n```\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzircote%2Fscala-lsp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzircote%2Fscala-lsp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzircote%2Fscala-lsp/lists"}