Completions: provided by engines break right at the start of a newline #17000
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
tech/engines
Issue for tech Engines.
topic: autocompletion
For within the `.schema` file
Milestone
Bug description
This was found in the process of adding the new
schemas
autocompletion for the datasource block and does not affect the other completion that engines provides.relevant pr
When even a single character after the initial, schemas is available for autocompletion
However, this breaks on the initial character of a newline - @tomhoule suggested it being due to the
\n
newline character being treated as part of the previous line within our spans.How to reproduce
Expected behavior
This should be able to trigger engines completions from anywhere on a new line, not just after the initial character
Prisma information
Environment & setup
Prisma Version
Insiders
The text was updated successfully, but these errors were encountered: