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

bug: completions on closing line #1392

Open
Druue opened this issue Mar 16, 2023 · 0 comments
Open

bug: completions on closing line #1392

Druue opened this issue Mar 16, 2023 · 0 comments
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. tech/engines/datamodel Issue about parsing/validation/rendering of the Prisma schema topic: autocompletion

Comments

@Druue
Copy link
Contributor

Druue commented Mar 16, 2023

Bug description

Completions shouldn't trigger on the closing line with the } on it
Possibly relevant Pest docs. Internal discussion

image

How to reproduce

  1. Open a schema
  2. Trigger a completion on the closing line of a block
  3. See completions

Expected behavior

Completions shouldn't be available

Prisma information

datasource db {
  provider = "postgresql"
  url = env("DATABASE_URL")
}

Environment & setup

  • OS: macOS
  • Database: N/A
  • Node.js version: N/A

Prisma Version

4.11.0 / Insiders
@Druue Druue added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. tech/engines/datamodel Issue about parsing/validation/rendering of the Prisma schema team/schema Issue for team Schema. topic: autocompletion labels Mar 16, 2023
@janpio janpio transferred this issue from prisma/prisma Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. team/schema Issue for team Schema. tech/engines/datamodel Issue about parsing/validation/rendering of the Prisma schema topic: autocompletion
Projects
None yet
Development

No branches or pull requests

1 participant