Closed kyoh86 closed 4 months ago
Hey @kyoh86, a PR fixing issues with multibyte characters was part of our 5.16.0
release, can you please confirm if that version resolves this issue for you?
Thank you in advance! 🙏
@Druue Wow! It's fixed! Thanks so much!
Cool, I'll be closing this as complete then :) ✨
Bug description
If a source contains multi-byte characters, Prisma Language Server cannot report diagnostics with correct position.
e.g.
It must be reported that a problem is in the line
Thursday,
that is not an enum value definition. But the problem is reported in a position ofFriday
.While you put a charater
📅
more, the reported position also shift.How to reproduce
Expected behavior
The problem is reported in correct position.
Prisma information
Environment & setup