zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
43.14k stars 2.3k forks source link

Prisma support #4832

Closed tingfeng-key closed 5 months ago

tingfeng-key commented 1 year ago

Check for existing issues

Language

prisma

Tree Sitter parser link

https://github.com/victorhqc/tree-sitter-prisma

Language server link

https://github.com/prisma/language-tools/tree/main/packages/language-server

Misc notes

No response

FarazPatankar commented 9 months ago

What's the general cadence for adding support for new languages/frameworks? Could users somehow contribute/escalate these?

ndneighbor commented 6 months ago

Hey there, started using Zed after the OSS launch! Congratulations!

Is there a way we can open a PR to the LSP protocol or develop and extension to zed so that we can parse .prisma files?

jyavorska commented 6 months ago

It might be nice if there was a simple configuration that allowed for custom arbitrary behaviors.

"extension_overrides": { 
  "*.prisma": {
    "format_on_save": {
      "external": {
        "command": "prisma",
        "arguments": ["format", "--schema", "{buffer_path}"]
      }
    }
  }
}
nexus9111 commented 5 months ago

I see that it's still not available, when will it be available ?

broisnischal commented 5 months ago

prisma and graphql lsp support!