language-tools
language-tools copied to clipboard
🌐 Prisma Language Tools = Language Server and Prisma's VS Code extension.
## Problem There's no autocompletion for `referentialIntegrity` in VSCode ## Suggested solution Add it like the autocompletion for `shadowDatabaseUrl`
Was converting a PostgreSQL schema to MongoDB by adding `@map("_id") and later noticed this: ``` prisma-fmt error'd during formatting. Please report this issue on [Prisma Language Tools](https://github.com/prisma/language-tools/issues). Linter output: RuntimeError:...
Nothing here (expect `ObjectId`): But working here:
## Bug description The following places use numbers that are too large for the LSP spec's uinteger type, which can have max value 2^32 - 1. https://github.com/prisma/language-tools/blob/c464b8f5a785d67b06da6bf3f273c7eafacdccb2/packages/language-server/src/rename/renameUtil.ts#L186 https://github.com/prisma/language-tools/blob/c464b8f5a785d67b06da6bf3f273c7eafacdccb2/packages/language-server/src/rename/renameUtil.ts#L190 https://github.com/sublimelsp/LSP/issues/1951#issuecomment-1071391571 (note...
There could be a UI panel that has button you can click to automatically run stuff you need frequently in the terminal: - `npx prisma generate` - `npx prisma introspect`...
We have editor support for many tools: https://www.prisma.io/docs/guides/development-environment/editor-setup How do they compare to our official VS Code extension? We could do a feature matrix and compare.
When you are using an older VSCode extension version than your local CLI or Client, you can get into situations where the extension complains about e.g. missing preview feature requests...
Publish pipeline steps: https://github.com/prisma/language-tools/runs/3536509804?check_suite_focus=true https://github.com/prisma/language-tools/runs/3536515605?check_suite_focus=true https://github.com/prisma/language-tools/runs/3536515605?check_suite_focus=true#step:9:9
This should only show up with `previewFeatures = ["referentialActions"]` in the schema file:  Note: referentialActions is now GA so this example is outdated
 (Hit "F2" on `TestPartent`) If you then change it to `FooBar?` as you want to rename it to that and not loose the `?`, this is the result: ...