bug: config value completions should only trigger after =
#1393
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
domain/schema
Issue in the "Schema" domain: Prisma Schema, Introspection, Migrations etc.
kind/bug
A reported bug.
tech/engines/datamodel
Issue about parsing/validation/rendering of the Prisma schema
topic: autocompletion
LSP text document completion
Bug description
Property value completions can trigger anywhere after the name, which can be before the = sign :: This is an issue with find_at_position and would probably require changes in the PEST grammar to include having the = as an identifiable piece in the parser for config blocks.
How to reproduce
=
""
orenv()
Prisma information
Environment & setup
Prisma Version
Expected Fix
PSL will need the ability to parse
=
as an expression so that we can match positions after it.Changes expected in
datamodel.pest
,datasource_loader
(and the other loaders), andfind_at_position.rs
The text was updated successfully, but these errors were encountered: