show type definitions in vscode #1705
Labels
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
kind/feature
A request for a new feature.
tech/typescript
Issue for tech TypeScript.
topic: jump-to-definition
LSP goto definition
topic: TS integration
Language-tools connecting with TypeScript files
Problem
If one tries to write down a prisma query in vscode and gets an error, it is pretty hard to find the real problem, especially when the documentation is as shallow/incomplete as or partially simply wrong as the prisma documentation (see query examples for n-m-relationship).
E.g. for:
vscode moans:
If one right clicks on it or copies the term into the code, auto completion try says
Cannot find name 'SeasonWhereInput'.ts(2304)
(and thus one wonders, how it can know, what's wrong, if it does not know the definitions ...).Suggested solution
Would be nice, if one could right click on
SeasonWhereInput
and get a "Go to Type" or "Go to Definition" or "Go to Implementation" as for other JS functions/vars/types within the project source code.env
The text was updated successfully, but these errors were encountered: