claude-code - 💡(How to fix) Fix Feature request: metals-lsp plugin for Scala language server [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#48094Fetched 2026-04-15 06:33:23
View on GitHub
Comments
0
Participants
1
Timeline
4
Reactions
0
Author
Participants
Timeline (top)
labeled ×3cross-referenced ×1

Please add a metals-lsp plugin to the official claude-plugins-official marketplace, following the same pattern as kotlin-lsp, jdtls-lsp, etc.

Root Cause

Please add a metals-lsp plugin to the official claude-plugins-official marketplace, following the same pattern as kotlin-lsp, jdtls-lsp, etc.

Code Example

{
  "name": "metals-lsp",
  "description": "Scala language server (Metals) for code intelligence and refactoring",
  "version": "1.0.0",
  "lspServers": {
    "metals": {
      "command": "metals",
      "extensionToLanguage": {
        ".scala": "scala",
        ".sbt": "sbt",
        ".sc": "scala"
      },
      "startupTimeout": 120000
    }
  }
}
RAW_BUFFERClick to expand / collapse

Summary

Please add a metals-lsp plugin to the official claude-plugins-official marketplace, following the same pattern as kotlin-lsp, jdtls-lsp, etc.

Plugin config (proven working locally)

{
  "name": "metals-lsp",
  "description": "Scala language server (Metals) for code intelligence and refactoring",
  "version": "1.0.0",
  "lspServers": {
    "metals": {
      "command": "metals",
      "extensionToLanguage": {
        ".scala": "scala",
        ".sbt": "sbt",
        ".sc": "scala"
      },
      "startupTimeout": 120000
    }
  }
}

Prerequisites

  • Metals must be installed and on PATH (https://scalameta.org/metals)
  • Metals speaks standard LSP over stdio by default (no --stdio flag needed)
  • Tested with Metals 0.11.2 on macOS

File types

  • .scala — Scala source files
  • .sbt — sbt build files
  • .sc — Scala scripts / Ammonite

Community plugin process

If there is a community plugin submission process separate from the official marketplace, please document it — the current docs don't mention one. Happy to contribute this upstream if there's a path to do so.

extent analysis

TL;DR

Add the metals-lsp plugin configuration to the claude-plugins-official marketplace by following the existing pattern used for other language server plugins like kotlin-lsp and jdtls-lsp.

Guidance

  • Review the plugin configuration provided in the issue to ensure it matches the requirements for the claude-plugins-official marketplace.
  • Verify that the Metals language server is installed and available on the PATH, as it is a prerequisite for the metals-lsp plugin.
  • Check the documentation for the claude-plugins-official marketplace to see if there is a separate process for submitting community plugins, as this may be an alternative path for adding the metals-lsp plugin.
  • Test the metals-lsp plugin with different file types (.scala, .sbt, .sc) to ensure it works as expected.

Example

No code snippet is provided as the issue already includes a working plugin configuration example.

Notes

The solution assumes that the claude-plugins-official marketplace follows a similar pattern for adding new plugins as it does for existing plugins like kotlin-lsp and jdtls-lsp. If this is not the case, additional guidance may be needed.

Recommendation

Apply workaround: Document and follow any existing community plugin submission process for the claude-plugins-official marketplace, or contribute the metals-lsp plugin configuration upstream if a separate process is available. This approach allows for the addition of the metals-lsp plugin while following established procedures.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING