You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 5, 2024. It is now read-only.
Currently the autoclosing pairs in the VSCode language configuration lists $ and $. This is slightly annoying when dealing with money. Is this possible with the language configuration alone? A quick glance at the documentation suggests that it is unlikely. We might perhaps achieve this by hacking the notIn option, putting the character behind a backslash in a comment region.
Another way might be to declare "\$" and "" as an autoclosing pair. I haven't tested whether it works, but it does behave correctly when dealing with \( and ( simultaneously in TeX language configurations, so maybe it's worth a try.
The text was updated successfully, but these errors were encountered:
Currently the autoclosing pairs in the VSCode language configuration lists
$
and$
. This is slightly annoying when dealing with money. Is this possible with the language configuration alone? A quick glance at the documentation suggests that it is unlikely. We might perhaps achieve this by hacking thenotIn
option, putting the character behind a backslash in a comment region.Another way might be to declare
"\$"
and""
as an autoclosing pair. I haven't tested whether it works, but it does behave correctly when dealing with\(
and(
simultaneously in TeX language configurations, so maybe it's worth a try.The text was updated successfully, but these errors were encountered: