Skip to content
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

Provide Option to Prevent Tabbing Out With Text Selection #49

Open
adsuth opened this issue Jul 18, 2023 · 1 comment
Open

Provide Option to Prevent Tabbing Out With Text Selection #49

adsuth opened this issue Jul 18, 2023 · 1 comment

Comments

@adsuth
Copy link

adsuth commented Jul 18, 2023

When text is selected, if the cursor is on a eligible tabout character, the selection will be undone when pressing tab, and the cursor will move.
This is probably likely an oversight given that tabbing with a selection should instead change the selections indent level.

For example, in this image, I have selected text. My cursor is next to a quote. Pressing tab should not trigger tabout, but should instead perform the default behaviour of indenting the selection block.

image
@Fred-Vatin
Copy link

I’m pretty sure it is fixed in new version thanks to the when expression for the keybinding excluding selection : editorTextFocus && !editorHasMultipleSelections && !inSnippetMode && !inlineSuggestionVisible && !suggestWidgetVisible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants