Myriad-Dreamin / tinymist

Tinymist [ˈtaɪni mɪst] is an integrated language service for Typst [taɪpst].
https://myriad-dreamin.github.io/tinymist
Apache License 2.0
278 stars 11 forks source link

Suboptimial behavior when auto completing func call args #340

Closed Enter-tainer closed 1 week ago

Enter-tainer commented 2 weeks ago

Describe the bug

Starting here with cursor placing at !, and press ,. The auto complete menu should appear.

#set page(height: auto, width: auto)
#set text(lang: "zh", region: "cn"!)

image

(When uploading this image, I notice that the hover menu and auto complete menu is overlapped with each other.) With this menu I can select args. But I always prefer manually add spaces after each comma in function call, so after pressing ,, I press space.

image

And the auto complete menu disappears. And if I want to type font, it also triggers compile failure. Maybe this is hard to handle.

image

image

Package/Software version:

tinymist extension version: v0.11.1