AREA44/vscode-LaTeX-support

Sometimes unable to autoclose inline equation i.e., $$.

Closed this issue ยท 6 comments

Unable to autoclose inline equations i.e., the pair $$, when I start VSCode. Need restart VSCode several times to make it work.

I am using LaTex Workshop and Vim emulation extension at the same time.

Which version of vscode and platform are you using? Thanks.

I have vscode (stable version:1.51.1) on x86 Mac and insider version (1.52.0-insider) on m1 chip ARM Mac. They have the same issue. Thank you very much!

I will check it in soon.

I removed auto-closing $ causes move the cursor to the end of the formula and type $ will insert $$ but insert at the start of the formula it only inserts a single $. So a better behavior is to not insert pairs of $.
I published v3.5.0.
If you have any idea, please tell me. Thanks for your support.

Thanks for your work, but I am confused. I think auto-closing $, i.e., typing $ once returns a pair $$ and the cursor in the middle of two $s, is a good feature that should be kept. Probably, I could use \(\) for inline math instead of $$ because\(\)is more favorable in the later version of Latex.

It is a good idea. I will try to find the best solution for this.