Color scheme when \iffalse
is used
#4225
Unanswered
thomas-saigre
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I will have a look at it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In a LaTeX code, if I want to skip some lines of code, I can insert the commands
\iffalse
and\fi
.With the extension, this considers the code inside as commented and colorizes it in green (in my color theme):
In a c++ code, when I insert the equivalent lines of code to skip a part of the code (
#if 0
andendif
) here is how the code is colorized :we still have the color of the code, but shaded.
I prefer the second option, I find it more readable.
Can we do it as well with LaTeX-Workshop ?
Beta Was this translation helpful? Give feedback.
All reactions