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 Ultimate 2024.1.4
Operating System
Windows 11
TeXiFy IDEA version
0.9.7
What I did (steps to reproduce)
I wanted to add this bibmacro from stackexchange: https://tex.stackexchange.com/a/48409. IntelliJ gives me multiple warnings, but the code still works.
Minimal example to reproduce the problem
Simply add the following line somewhere.
\href{\thefield{url}}{#1}%
When you look at the brace matching, you notice that the opening bracket of \thefield{ is ignored and the closing bracket after url is treated as the closing bracket of href. This causes the second closing bracket to show an error.
The text was updated successfully, but these errors were encountered:
Many thanks for reporting this, indeed { is not a valid character in a url so this is a brace counting issue in the parser
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
Jul 30, 2024
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
IntelliJ IDEA Ultimate 2024.1.4
Operating System
Windows 11
TeXiFy IDEA version
0.9.7
What I did (steps to reproduce)
I wanted to add this bibmacro from stackexchange: https://tex.stackexchange.com/a/48409. IntelliJ gives me multiple warnings, but the code still works.
Minimal example to reproduce the problem
Simply add the following line somewhere.
When you look at the brace matching, you notice that the opening bracket of \thefield{ is ignored and the closing bracket after url is treated as the closing bracket of href. This causes the second closing bracket to show an error.
The text was updated successfully, but these errors were encountered: