dotnet / try

Try .NET provides developers and content authors with tools to create interactive experiences.
MIT License
2.9k stars 527 forks source link

Fix #1193 #1214

Closed jonsequitur closed 5 months ago

jonsequitur commented 5 months ago

This fixes #1193 by setting the start of the completion item range to the beginning of the current word boundary.

It seems like this wasn't an issue for the Polyglot Notebooks code because its completion support is coded against the VS Code API, which is perhaps doing this work for us. When going directly against Monaco, it seems it has to be done manually.