Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code completion deletes some characters #224

Closed
bohni opened this issue Sep 20, 2023 · 1 comment
Closed

Code completion deletes some characters #224

bohni opened this issue Sep 20, 2023 · 1 comment

Comments

@bohni
Copy link

bohni commented Sep 20, 2023

@variable={{$pa + <tab> gives @variable={{$ssword

?? stat + selecting entry "?? status == 200" + <enter> gives ?? tatus == 200

@AnWeber
Copy link
Owner

AnWeber commented Oct 1, 2023

I have to admit, I don't get what Microsoft wants from me with the Completion API. It seems that I am not allowed to specify special characters in the insertText, but I have to specify normal characters so that they are replaced correctly. This behaves extremely strange. I think it works correctly now, but please test it.

input insertText
{{$pa password
?? stat status == 200
?? ?? status == 200
Con tent-Type
I also tweaked the performance, and the CompletionItems should appear faster.

@AnWeber AnWeber closed this as completed Oct 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants