Overleaf-Workshop icon indicating copy to clipboard operation
Overleaf-Workshop copied to clipboard

Formatter not run well

Open maple367 opened this issue 10 months ago • 2 comments

Describe the bug

The latex command

\author[1,2]{Name Name}

will be formatted as

\author{[}
1,2]{Name Name}

Expected behavior

[ (or other command signs) remain the same as itself after command \author (or other command).

maple367 avatar Mar 19 '25 08:03 maple367

@QianrenLi Please help have a look at it when you have time.

iamhyc avatar Mar 23 '25 13:03 iamhyc

@maple367 see this also: https://github.com/iamhyc/Overleaf-Workshop/discussions/210

edodeso avatar Apr 07 '25 09:04 edodeso

I am experiencing the same issue. Is there any update on this @QianrenLi? Thank you.

ssbodda avatar May 09 '25 05:05 ssbodda

Hi @ssbodda @edodeso @maple367 , sorry for the late. This issue has been solved in this patch. If you have time, please give it a try and let me know if you encounter any further issues.

QianrenLi avatar Jun 24 '25 10:06 QianrenLi

Hi @ssbodda @edodeso @maple367 , sorry for the late. This issue has been solved in this patch. If you have time, please give it a try and let me know if you encounter any further issues.

Hi, I installed the patch, restarted VS Code and everything looks perfect now on my end! The \author[1,2]{Name Name} is correctly formatted and compiles properly. Thank you for your work, I really appreciate it!

edodeso avatar Jun 24 '25 10:06 edodeso