-
-
Notifications
You must be signed in to change notification settings - Fork 89
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stubRoots.length != roots.size() when Jinja2 is enabled for LaTeX #1839
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. |
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. |
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 |
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. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
PyCharm 2020.3.5
Operating System
Kubuntu 20.04 LTS
TeXiFy IDEA version
0.7.5
Description
Popped up.
BTW: I activated Jinja support for LaTeX as I use it in combination.
Stacktrace
The text was updated successfully, but these errors were encountered: