code-yew-server
code-yew-server copied to clipboard
conflit with the rust generic "<T>"
the <></> completion will happen outside the html!
Thanks for reporting the issue!
After a few days of digging, it seems to me that there might not be a way to limit the autoClosingPairs
to only the embedded language region. I'll see if filing a issue/feature request in vscode could help. But definitely open to suggestion!
Edit: Found a similar issue from vscode https://github.com/microsoft/vscode/issues/133397
will this problem fixed in the next version, or the readme.md
will add some relvant introduction?
will this problem fixed in the next version, or the
readme.md
will add some relvant introduction?
This issue sprung from how VSCode handles the autoClosingPairs
config, and it doesn't seem to work well with a variety of embedded languages, and not just html !
. I'm still looking for a better approach, but right now there isn't much I can do besides removes the auto complete for <></>
. So I'll leave the issue open for now.
Would it be possible to add an option for enabling/disabling of auto complete for <></>
? I feel like it would be a better stopgap solution than disabling it outright or leaving the issue as is until the real solution is found
@NekoiNemo That is actually a good idea. However, I'm not sure if there's a way to dynamically enable/disable language-configuration.json properties however. I'll look into it, but I can't see of a way to implement it for now.