Closed Yarakashi-Kikohshi closed 1 month ago
Version: 1.93.1 (user setup) Commit: 38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40 Date: 2024-09-11T17:20:05.685Z Electron: 30.4.0 ElectronBuildId: 10073054 Chromium: 124.0.6367.243 Node.js: 20.15.1 V8: 12.4.254.20-electron.0 OS: Windows_NT x64 10.0.22631
Argument hint of command IntelliSense contains unexpected characters included %.
%
Example of \dfrac by amsmath.
\dfrac
\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \dfrac \end{equation} \end{document}
\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \dfrac{num%:translatable}{den%:translatable} \end{equation} \end{document}
This issue is likely due to the following code:
https://github.com/James-Yu/LaTeX-Workshop/blob/42da1749013da3bae16a9a9a3a63d25b4aa8399c/data/packages/amsmath.json#L84-L90
This kind of problem can exist even with other packages. I haven't checked all files in data/packages/ so I don't know about other packages.
The hint to the right of the % is not necessary.
\documentclass{article} \usepackage{amsmath} \begin{document} \begin{equation} \dfrac{num}{den} \end{equation} \end{document}
Thank you for everything.
Pre-checks
Environment
The Issue
Argument hint of command IntelliSense contains unexpected characters included
%
.Reproduction Steps
Example of
\dfrac
by amsmath.\dfrac
and complete the commandThis issue is likely due to the following code:
https://github.com/James-Yu/LaTeX-Workshop/blob/42da1749013da3bae16a9a9a3a63d25b4aa8399c/data/packages/amsmath.json#L84-L90
This kind of problem can exist even with other packages. I haven't checked all files in data/packages/ so I don't know about other packages.
Expected Behavior
The hint to the right of the
%
is not necessary.Anything Else?
Thank you for everything.