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

feat(vscode): Add codelens provider w/ generate client command #1710

Merged
merged 3 commits into from
May 3, 2024

Commits on May 3, 2024

  1. Add prisma codelens config commands

    Add script runner config setting
    Register prisma generate client codelens
    Add event tracking to update script runner for codelens
    Use script runner as arg for gen client command
    Druue committed May 3, 2024
    Configuration menu
    Copy the full SHA
    e03b4e4 View commit details
    Browse the repository at this point in the history
  2. Added prisma.schemaPath config setting

    - this lets users set a custom schema path for codelenses
    
    Removed scriptRunner as prop on codelens provider
    - see comment for more info
    - now directly accessingthe config from within `generateClient()`
    
    Allow for generate lens to appear over all generators in the file, not just the first
    Druue committed May 3, 2024
    Configuration menu
    Copy the full SHA
    d66951b View commit details
    Browse the repository at this point in the history
  3. Apply suggestions from code review

    Jolg42 authored and Druue committed May 3, 2024
    Configuration menu
    Copy the full SHA
    e037e3b View commit details
    Browse the repository at this point in the history