Expose the Prisma AST with position information
Open
Nobody has claimed this yet.
kind/feature
topic: sdk
- Dominant language
- TypeScript
- Stars
- 47.6k
- Forks
- 2.5k
- Avg merge
- 21h 59m
- Merged PRs (30d)
- 95
Description
Motivation:
- I'm also not sure how @carmenberndt will implement "Jump to Definition" without positional information. Update @carmenberndt was able to workaround this issue.
- For @matthewmueller's work on P1 => P2 upgrade it would be very helpful, though I'll probably be able to hack together some regexps to workaround this.
- I believe @pantharshit00 would like this for his vim Prisma 2 plugin
More context on the difficulties of doing this in Private Slack: https://prisma-company.slack.com/archives/C4GCG53BP/p1586963895241300
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files, tests, or entry points. Start by locating the Prisma AST implementation and the existing exposure path, then clarify the positional-information format and consumers; done means the AST is publicly exposed with positions sufficient for editor integrations and upgrade tooling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100