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.
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.