ty icon indicating copy to clipboard operation
ty copied to clipboard

Add / document support for Claude Code LSP integration

Open adamtheturtle opened this issue 2 months ago • 2 comments

I see pyright-lsp on https://code.claude.com/docs/en/plugins-reference#lsp-servers and would be happy for Claude to use ty.

adamtheturtle avatar Dec 26 '25 17:12 adamtheturtle

I don't know what we need to do to get on claude's documentation. But you should definitely be able to use ty with claude.

Something like this should work (untested):

{
  "python": {
    "command": "uvx ty@latest",
    "args": ["servern"],
    "extensionToLanguage": {
      ".py": "python",
	  ".pyi": "python"
    }
  }
}

You can find all other supported options here https://docs.astral.sh/ty/reference/editor-settings/

MichaReiser avatar Dec 26 '25 17:12 MichaReiser

Thank you, I think that it would be good for that to be in ty's documentation.

adamtheturtle avatar Dec 26 '25 17:12 adamtheturtle