Prisma schema support for Sublime Text's LSP package using the Prisma Language Tools.
- Total 450
- Win 105
- Mac 198
- Linux 147
|Feb 2||Feb 1||Jan 31||Jan 30||Jan 29||Jan 28||Jan 27||Jan 26||Jan 25||Jan 24||Jan 23||Jan 22||Jan 21||Jan 20||Jan 19||Jan 18||Jan 17||Jan 16||Jan 15||Jan 14||Jan 13||Jan 12||Jan 11||Jan 10||Jan 9||Jan 8||Jan 7||Jan 6||Jan 5||Jan 4||Jan 3||Jan 2||Jan 1||Dec 31||Dec 30||Dec 29||Dec 28||Dec 27||Dec 26||Dec 25||Dec 24||Dec 23||Dec 22||Dec 21||Dec 20||Dec 19|
LSP-prisma is a LSP helper package for the Prisma Language Server.
LSP-prisma on it's own doesn't do anything. It acts as a glue between the
LSP package and the Prisma Language Server. It takes care of downloading, configuring & updating the language server for you so that you don't have to do it manually.
Everything that the Prisma Language Server supports, which includes
- Linting for your prisma schema files to show possible issue(s) & error(s).
- Intelligent auto completions.
Goto Definitionfor models, enums & types.
- Formatting of your schema files using
Read the Documentation section to understand how to use these features in ST.
Make sure that you have the LSP & the PrismaHighlight packages installed before installing
LSP is the client package implementing the LSP protocol and is needed by
LSP-prisma in order to work. The
PrismaHighlight package is needed to help
LSP-prisma attach the language server to the Prisma schema files using the syntax scope provided by
The recommended way is to use
Package Control: Install Packagefrom the command palette. Search for
LSP-prismaand hit enter. The package will be installed. Package Control will take care of auto updating the package as & when there are new tagged releases.
Another way to install is to use
Package Control: Add Repositoryfrom the command palette. Copy the github url (without the
.gitat the end) and enter it into the input panel that pops up at the bottom when you select
Package Control: Add Repository. Now use
Package Control: Install Packageand search for
LSP-prismaand install it. This is not the recommended way though, as this will periodically pull changes from the
main/masterbranch. So there are chances of features breaking.
How to use this package ?
A wiki documentation is currently being prepared. In the mean time, if you have any questions, feel free to use the Discussions setup to ask questions !
This package is just a wrapper around the Prisma Language Tools. If you face any issues, you can verify to see if the same issue occurs in VS Code. If it does, it's an issue with the language server and an issue should be filed with them.
Please follow the issue template that has been setup while reporting any bug(s) (So as to stay as organized as possible).
This package won't exist without LSP & the Prisma Language Tools, so huge thanks to them, the ST
LSP package maintainers for bringing LSP capabilities to ST & the Prisma Language Tools maintainers for making working with Prisma schema files easier !
The MIT License (MIT)
Copyright 2022 © Ashwin Shenoy
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.