You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntelliJ IDEA 2024.2.3 (Ultimate Edition) on Windows and TeXiFy IDEA 0.9.7.
Steps to reproduce
Input the following minimal example in any .tex file:
\documentclass{article}
\usepackage{mathtools} % Package with provides the cases* environment\begin{document}
\begin{itemize}
\item Testing
\item one
\item two three
\item$\begin{cases*}1 & if $p \equiv 1 \pmod 4$\\ -1 & if $p \equiv 3 \pmod 4$\end{cases*}$.
\end{itemize}
\end{document}
Expected behavior
No problems should be detected by the plugin.
The second row (after the & character) in the cases* environment should be highlighted in normal LaTeX text style as well.
Actual behavior
Several problems are incorrectly detected, which were the following:
"DefaultEnvironment name does not match with the name in \end."
<no math content>, LatexTokenType.&, LatexTokenType.*, [...] or LatexTokenType.\end expected, got '$'
<no math content> or LatexTokenType.INLINE_MATH_END expected, got '\end'
The text highlighting is also incorrect.
The text was updated successfully, but these errors were encountered:
PHPirates
added
parser
Issues for which significant changes in the parser are needed
and removed
untriaged
Issue type still needs to be triaged or verified.
labels
Oct 21, 2024
Thanks for reporting this, for the record: the second column is a text column only for the starred environments (cases is provided by amsmath but cases* by mathtools), also for dcases*, rcases* and drcases*
Environment
IntelliJ IDEA 2024.2.3 (Ultimate Edition) on Windows and TeXiFy IDEA 0.9.7.
Steps to reproduce
Input the following minimal example in any
.tex
file:Expected behavior
No problems should be detected by the plugin.
The second row (after the
&
character) in thecases*
environment should be highlighted in normal LaTeX text style as well.Actual behavior
Several problems are incorrectly detected, which were the following:
DefaultEnvironment
name does not match with the name in\end
."<no math content>
,LatexTokenType.&
,LatexTokenType.*
, [...] orLatexTokenType.\end
expected, got '$
'<no math content>
orLatexTokenType.INLINE_MATH_END
expected, got '\end'The text highlighting is also incorrect.
The text was updated successfully, but these errors were encountered: