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

Bug: Inserting quotes and parentheses cause them to wrap around character #5

Open
GitMensch opened this issue Jan 2, 2021 · 0 comments

Comments

@GitMensch
Copy link
Collaborator

I can reproduce AdamMaras#14 (happens only in overtype mode), but I'm actually not sure if there's something we can do about this other than deleting the character that is automatically added by vscode,

When typing characters with autocompleting pairs ("" () {} []) in overtype mode, the character that would be deleted is instead wrapped around the character pairs. The behavior seen is the same as if you highlighted the character to overwrite then typed the character to replace with (in fact if you set "editor.autoSurround": never this does not occur).

For example if I type " a the beginning of the line

asdf

gets the result

"a"sdf

The result I would expect to see

"sdf
GitMensch added a commit to GitMensch/vscode-overtype that referenced this issue Jan 6, 2021
GitMensch added a commit to GitMensch/vscode-overtype that referenced this issue Jan 6, 2021
Replaced configuration `overtype.abbreviatedStatus` by freely adjustable texts `overtype.labelInsertMode` and `overtype.labelOvertypeMode` DrMerfy#9
which allows free abbreviation, localization and also allows hiding the current state in the status bar DrMerfy#4 - replaced by new logic.

fixes DrMerfy#9 and DrMerfy#5
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

1 participant