Closed BizarrePenguin closed 1 month ago
Thank you for filing this issue. We have outsourced our LaTeX syntax highlighting grammar to vscode-latex-basics, could you please post your issue there?
I cannot reproduce the issue
Thank you, I did not notice the syntax highlighting was outsourced, sorry.
With the development version of vscode-latex-basics I don't have the issue either. So I guess I will just wait and see if it is resolved automatically in future releases of the LaTeX Workshop extension.
Pre-checks*
Environment*
The Issue*
The DocTeX syntax highlighting stops working when starting an environment in the documentation part (the part that starts every line with percent signs), i.e.
displays as
Reproduction Steps
Expected Behavior
LaTeX code inside the environment and after ending the environment should be highlighted as expected with .dtx files.
Logs
LaTeX Workshop Output*
Note, that for privacy reasons I removed some paths from the log of the $PATH variable that have nothing to do with vscode or LaTeX and also changed my computers username to $USERNAME in the log output.
Developer Tools Console
Note, that for privacy reasons I changed my computers username to $USERNAME in the log output.
Anything Else?
macrocode
environment with the correct amount of spacesas here it is desirable that inside the environment the percent sign actually acts as a comment indicator and in contrast to other environments the highlighting goes back to normal after
\end{macrocode}
:verbatim
environment:where it highlights as expected after
\end{verbatim}
while printing everything white in between: