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
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA 2024.1.1 (Community Edition)
Build #IC-241.15989.150, built on May 1, 2024
Operating System
Arch Linux
TeXiFy IDEA version
0.9.5
What I did (steps to reproduce)
Just use xkeyval package, and try to use named argument that has round braces inside curly ones. It will be reported as <parameter text>, LatexTokenType.&, LatexTokenType.*, LatexTokenType.CLOSE_BRACE, LatexTokenType.CLOSE_BRACKET, LatexTokenType.COMMA, LatexTokenType.COMMAND_TOKEN, LatexTokenType.EQUALS, LatexTokenType.EXCLAMATION_MARK, LatexTokenType.NORMAL_TEXT_WORD, LatexTokenType.OPEN_BRACE, LatexTokenType.OPEN_BRACKET, LatexTokenType.PIPE or LatexTokenType.QUOTATION_MARK expected, got '(' error, while it should not.
Minimal example to reproduce the problem
\documentclass{article}
\usepackage{xkeyval}
\begin{document}
\anycommand{
test = {Some thext with (Round Brackets)}
}
\end{document}
Expected behavior
No errors - this is perfectly valid code. I have no idea whether xkeyval is "truly" supported, but it seems to normally work, so breaking like that is surprising.
Interesting note: if (Round Brackets) is surrounded by additional curly braces, to form: test = {Some thext with {(Round Brackets)}}, error goes away.
Actual behavior
(if applicable) The full stacktrace of the exception thrown
The text was updated successfully, but these errors were encountered:
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA 2024.1.1 (Community Edition)
Build #IC-241.15989.150, built on May 1, 2024
Operating System
Arch Linux
TeXiFy IDEA version
0.9.5
What I did (steps to reproduce)
Just use
xkeyval
package, and try to use named argument that has round braces inside curly ones. It will be reported as<parameter text>, LatexTokenType.&, LatexTokenType.*, LatexTokenType.CLOSE_BRACE, LatexTokenType.CLOSE_BRACKET, LatexTokenType.COMMA, LatexTokenType.COMMAND_TOKEN, LatexTokenType.EQUALS, LatexTokenType.EXCLAMATION_MARK, LatexTokenType.NORMAL_TEXT_WORD, LatexTokenType.OPEN_BRACE, LatexTokenType.OPEN_BRACKET, LatexTokenType.PIPE or LatexTokenType.QUOTATION_MARK expected, got '('
error, while it should not.Minimal example to reproduce the problem
Expected behavior
No errors - this is perfectly valid code. I have no idea whether
xkeyval
is "truly" supported, but it seems to normally work, so breaking like that is surprising.Interesting note: if
(Round Brackets)
is surrounded by additional curly braces, to form:test = {Some thext with {(Round Brackets)}}
, error goes away.Actual behavior
(if applicable) The full stacktrace of the exception thrown
The text was updated successfully, but these errors were encountered: