-
Notifications
You must be signed in to change notification settings - Fork 348
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
issue with keyval completion and open bracket #3159
Comments
Have you disabled "placeholders", because here no pop-up.
|
It seems the option you're talking about is "Insert arguments" which does fix it - there is also an "Arguments as placeholders" option; it seems to have no effect on this and I don't know what it does in general. I'm not a fan of the placeholders but no worries if you don't think this is worth fixing for users with placeholders disabled. |
Actually from the documentation it would seem "Arguments as placeholders" should be the option which controls the placeholder feature. But I just double checked and it's "Insert arguments" that determines whether or not a placeholder is created. Is this intended behavior? Edit: Sorry, I think I get the options now. One thing that still confuses me is "Arguments as placeholders" seems to have no effect without "Insert arguments". For example one might expect that using the former without the latter would mean |
Probably you need some text for the placeholders for them to work. |
I have fixed some problems around this issue, but the actual problem is the "unlosed" square bracket. |
Thanks! Right, I admit I'm a somewhat odd user in wanting keyval completion without using command completion much. I'll test the new build |
As far as I can tell the behavior is the same as before, though perhaps that's what you meant by
|
yes, I can't fix the issue of the "unclosed" bracket easily, hence the remark. |
Environment
Expected behavior
Once one selects a keyval with "Enter" or by clicking it, the completer should not pop back up with the keyval list.
Actual behavior
If the argument is not closed, the keyval list pops up. Consider
Once you select the keyval, the completion list should disappear because the user needs to fill the "val" of the "keyval". However after selecting the keyval it just pops back up:
The issue does not occur if the argument is closed, meaning starting with
\begin{tikzcd}[fon]
. The same behavior is observed regardless of the delimiter, e.g.\tikzcdset{fon
shows the same issue.This is relevant for users like me who don't have the completer turned on by default (so closing delimiters are not added automatically) but do often activate the keyval completion manually with
Ctrl+Space
.How to reproduce
Insert cursor after
fon
and follow steps above.The text was updated successfully, but these errors were encountered: