Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Highlight and let me navigate to back relation belonging to a relation #1167

Open
janpio opened this issue Jun 8, 2022 · 1 comment
Open
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: jump-to-definition LSP goto definition topic: syntax highlighting

Comments

@janpio
Copy link
Contributor

janpio commented Jun 8, 2022

For huge schemas, being able to follow a relation not only to the model but the back relation is pretty useful - especially if there are multiple relations between the same models.

It woudl be great if we could visually highlight the back relation belonging to a relation, and also have a way to navigate to it directly.

@janpio janpio added kind/feature A request for a new feature. topic: syntax highlighting labels Jun 9, 2022
@Druue Druue added the domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. label Dec 7, 2022
@Druue
Copy link
Contributor

Druue commented Jul 18, 2024

Navigation as described was somewhat implemented, it's not as direct as simply go-to-definition but finding references will open up a menu that you can then navigate from

prisma/prisma-engines#4934

@Druue Druue added the topic: jump-to-definition LSP goto definition label Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain/schema Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc. kind/feature A request for a new feature. topic: jump-to-definition LSP goto definition topic: syntax highlighting
Projects
None yet
Development

No branches or pull requests

2 participants