You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Autocompletion for \cite just inserts the completed text.
Actual behavior
If the following text is not a comma, it gets removed until the next space. This image shows the autocompleter:
And here is after pressing "Enter":
The text abc is removed after completing. The same is true if abc is replaced with a period, anything except a comma since that's treated specially for multiple citations.
The problem is also there for \label and \ref completion.
This does not happen with keyval completion. If you replace \cite{abc def with \pagenumbering{abc def, place your cursor between { and abc, open the completer, and choose an option, you get the expected thing, e.g. \pagenumbering{Alphabc def
Yes, this is not an issue if you use the completer for commands so there's never a missing closing brace, however I tend to type out commands manually and use the completer for the argument.
Environment
Expected behavior
Autocompletion for
\cite
just inserts the completed text.Actual behavior
If the following text is not a comma, it gets removed until the next space. This image shows the autocompleter:
And here is after pressing "Enter":
The text
abc
is removed after completing. The same is true ifabc
is replaced with a period, anything except a comma since that's treated specially for multiple citations.The problem is also there for
\label
and\ref
completion.This does not happen with keyval completion. If you replace
\cite{abc def
with\pagenumbering{abc def
, place your cursor between{
andabc
, open the completer, and choose an option, you get the expected thing, e.g.\pagenumbering{Alphabc def
Yes, this is not an issue if you use the completer for commands so there's never a missing closing brace, however I tend to type out commands manually and use the completer for the argument.
How to reproduce
Example file
For
\label
/\ref
:The text was updated successfully, but these errors were encountered: