A community Sublime Text package that offers enhanced syntax highlighting for Prisma schema files. Read more for the full documentation.
- Enhanced syntax highlighting for Prisma schema files.
- Quickly navigate through models, enums, types etc. defined in your schema files using
Goto Symbol
. - Ability to comment using the standard key bindings.
-
The recommended way is to use
Package Control: Install Package
from the command palette. Search forPrisma
and 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 Repository
from the command palette. Copy the github url (without the.git
at the end) and enter it into the input panel that pops up at the bottom when you selectPackage Control: Add Repository
. Now usePackage Control: Install Package
and search forPrisma
and install it. This is not the recommended way though, as this will periodically pull changes from themain/master
branch. So there are chances of features breaking.
By default, this package will provide syntax highlighting for any file with .prisma
as the extension.
There is always scope for improvements, so please do report any bug(s) that you encounter.
Please follow the issue template that has been setup while reporting any bug(s) (So as to stay as organised as possible).
The syntax_test.yml is taken & used (with some modifications) from the official Packages repository. So full credit goes to them for it.
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.