-
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and versionPyCharm 2020.3.5 Operating SystemKubuntu 20.04 LTS TeXiFy IDEA version0.7.5 DescriptionPopped up. Stacktrace
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
How is your experience with using Jinja2? It seems like the default delimiters get Jinja2 confused, for example The thing is, I don't know how to resolve this exception, because it's something inside IntelliJ platform and not inside TeXiFy. So it doesn't make much sense to me to spend time on resolving this, when Jinja2 support isn't working with LaTeX anyway. |
Beta Was this translation helpful? Give feedback.
-
Hi @PHPirates, for me it works quite fine and Jinja doesn't get confused. The exceptions didn't occur a second time so far (at least currently as I am working under Windows for work) I also create PR for Jinja to allow autoescape, even for LaTeX (or anything, see: pallets/jinja#1386) There is also https://github.com/mbr/latex that uses Jinja. |
Beta Was this translation helpful? Give feedback.
-
Aha, thanks for the info, I had just missed the slightly different syntax I don't know of any other examples that don't work, so I will ask the IntelliJ team for this exception (I can reproduce it, it happens because Jinja and TeXiFy are both claiming |
Beta Was this translation helpful? Give feedback.
-
I just realised after looking inside intellij that the exception is saying that the number of indexed stub roots does not match the number of actual stub roots after enabling jinja, so invalidate caches and restart will fix it. |
Beta Was this translation helpful? Give feedback.
I just realised after looking inside intellij that the exception is saying that the number of indexed stub roots does not match the number of actual stub roots after enabling jinja, so invalidate caches and restart will fix it.