Feature Request: Auto-delete matching parentheses when pressing backspace.

Create issue
Issue #1073 new
chickensalt created an issue

For example, take this scenario:

Cursor = |

Before: sin(|)
(Backspace is pressed)
After: sin|)

It would be nice if pressing backspace could also delete the matching parenthesis, like this:

Cursor = |

Before: sin(|)
(Backspace is pressed)
After: sin|

Edit: It would also be nice if when pressing the ) key when the cursor is next to the closing parenthesis for the cursor to be moved right instead of adding another ), like this:

Cursor = |

Before: sin(|)
( `)` is pressed )
After: sin()|

Instead of the current behaviour:

Cursor = |

Before: sin(|)
( `)` is pressed )
After: sin()|)

Comments (1)

  1. Log in to comment