-
Notifications
You must be signed in to change notification settings - Fork 18
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
JSX symbols >
and /
break multiple cursors & selections
#216
Comments
This behavior is rather disruptive; I didn't realize it was coming from Naomi. Please do either disable it by default or at least document a way to disable it in settings. |
This also breaks search (triggered by Lines 353 to 378 in a1034a8
The additional contexts are: // to fix the <hr/>> issue above:
{ "key": "following_text", "operator": "not_regex_contains", "operand": ">" },
// to fix the multi-cursor issue:
{ "key": "num_selections", "operator": "equal", "operand": 1 },
// to fix the Vim mode issue
{ "key": "setting.command_mode", "operand": false }, Note: I haven't personally tested these, so they may not be exactly right, but I believe this is the gist of it. |
Can I get a pointer on where to fix this? I can give it a stab. |
@AlexKvazos my comment above outlines what I think are the correct fixes, but I haven't fully tested them myself. |
Is it possible to disable auto-close autocompletion?
I usually don't want to auto-close JSX tags.
any auto-close breaks multiple cursor editing, and turns into a single cursor at the first index.
The text was updated successfully, but these errors were encountered: