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
While the block is selecting the last character, it is not marked as a selection in VScode, this results in some weird behavior:
In the following screenshot, info is selected, but having "Editor: Selection Highlight" enabled, the next occurrence of inf is selected, instead of the complete info:
This also means that when double clicking on info, because VScode selects the entire word, Dance also has the closing bracket selected:
The text was updated successfully, but these errors were encountered:
This is done on purpose, though I agree this isn't ideal. The problem is that the VS Code block character appears after the selection; for users that don't use extensions like Dance this is probably fine, but in Dance it is very confusing as you can often perform operations that appear to have the block character selected, when they in fact do not.
When the block cursor is selected, Dance will add +1 to the length of selections when performing actions to account for that block character, but regular VS Code behavior (like highlighting of matches) will behave slightly differently.
For instance, in your first screenshot, pressing d will remove info (which, IMO, makes more sense visually), but VS Code internally thinks that o is not part of the selection.
Some time ago Dance used the native VS Code selection, but this was changed due to how strange it looked to users.
Using
While the block is selecting the last character, it is not marked as a selection in VScode, this results in some weird behavior:
In the following screenshot,
info
is selected, but having "Editor: Selection Highlight" enabled, the next occurrence ofinf
is selected, instead of the completeinfo
:This also means that when double clicking on
info
, because VScode selects the entire word, Dance also has the closing bracket selected:The text was updated successfully, but these errors were encountered: