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

remove matching )/]/} when deleting (/[/{ #107

Open
MohammadMD1383 opened this issue Aug 6, 2023 · 2 comments
Open

remove matching )/]/} when deleting (/[/{ #107

MohammadMD1383 opened this issue Aug 6, 2023 · 2 comments
Labels
new feature requires new features to be implemented

Comments

@MohammadMD1383
Copy link
Owner

for example in this case:

const a = (|12 + 5) * 7;

after pressing Backspace, the matching parenthesis should also be removed:

const a = |12 + 5 * 7;

This can be either an action, or a configurable typing handler action...

@MohammadMD1383 MohammadMD1383 added the new feature requires new features to be implemented label Aug 6, 2023
@MohammadMD1383
Copy link
Owner Author

MohammadMD1383 commented Aug 12, 2023

also matching " and ' and `

@MohammadMD1383
Copy link
Owner Author

the action could be activated when one of a pair is under selection:

(): selection
| : caret

const some = (")|text"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature requires new features to be implemented
Projects
None yet
Development

No branches or pull requests

1 participant