TeXiFy-IDEA
TeXiFy-IDEA copied to clipboard
Tab autocompletion is buggy when text is present at caret
Half a bug, half a missing feature.
\begin{document}
$5\lamb<caret>$
\end{document}
select the completion \lambda
with tab
and the closing $
will be consumed
Expected:
\begin{document}
$5\lambda$
\end{document}
Actual:
\begin{document}
$5\lambda
\end{document}
Thanks, indeed something strange is going on, another example:
Given: \input{te<caret>.tex}
Expected after tab completion: \input{texbook.tex}
Actual: \itexbook.tex}
This seems to be a bug in IntelliJ, I've created a bug in YouTrack: https://youtrack.jetbrains.com/issue/IDEA-341961/Deletion-for-replacement-completion-is-based-on-Java-but-also-used-for-other-languages
Thanks, indeed something strange is going on, another example:
Given:
\input{te<caret>.tex}
Expected after tab completion:\input{texbook.tex}
Actual:\itexbook.tex}
This bug already exists as TEX-153, I suggests keeping it separate from this as it's a different issue - I have been debugging, fix should be coming soon :)
This bug already exists as TEX-153, I suggests keeping it separate from this as it's a different issue - I have been debugging, fix should be coming soon :)
Could you add a link to the issue? I have a similar problem with \addbibresource{}
(as well as the mentioned one with \input{}
).
Where is / was this tracked?
oh, the github-actions-bot added the link to my comment (still In Progress
?).
And from there I found the pull-request on github (merged in v0.9.4).
That way I found out that I was using an old version of TeXiFy, as PHPStorm on this device was not up-to-date.
After updating my IDE, I could update TeXiFy, which fixed the problem for me.