TeXiFy-IDEA
TeXiFy-IDEA copied to clipboard
Live templates do not expand when abbreviation is directly after inline math start
Type of JetBrains IDE (IntelliJ, PyCharm, etc.) and version
Clion
Operating System
MacOS
TeXiFy IDEA version
What I did (steps to reproduce)
Minimal example to reproduce the problem
\documentclass{article}
\begin{document}
$sum$
\end{document}
Expected behavior
pressing tab when the cursor is placed after "sum" expands the relevant live template
Actual behavior
The live template does not expand. In order for the live template to work, a space needs to be placed after the $
\documentclass{article}
\begin{document}
$ sum$
\end{document}
Can confirm this happens on latest version (it was not provided)
Creating a duplicate of the sum
live template and changing it to $sum
works as intended
Thank you! I had tried that, but with the applicable environment of the template set as only "LaTeX: math". It works only if you set the applicable environment to include general LaTeX as well.
Regardless, it's annoying to have to create duplicate versions for every math live template.