Delete matching parentheses, brackets, or braces
- VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z) - OS Version: Windows_NT x64 6.3.9600 - Extensions: Extensions are disabled --- Steps to Reproduce: 1. Create a new file. 2. Paste the following code: `var foo = (1 + bar) + baz;`. 3. Position the cursor before the first `(`. It and its matching parenthesis should highlight. 4. Hit the delete key. 5. Only the first parenthesis is deleted. It would be useful if the corresponding parenthesis, brace, or bracket were deleted when the targeted one was. I see two ways to accomplish this: 1. Add a shortcut for both backspace and delete that does the operation on the matching character. 2. Automatically do the deletion. This could be an extension of the already-existing "editor.autoClosingBrackets" setting or (more likely) a new setting that governs this behavior. <!-- Launch with `code --disable-extensions` to check. --> Reproduces without extensions: Yes
Posted by nrabins on Sep 21, 2017, 2:12 PM
Tags
Related issues
- struct's lifetime requirements can be bypassed via covariant field assignment
- Proposal to Reorganize the Moderation Team and Review Moderation Policies
- Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
- proposal: container/...: generic collection types
- Better Custom Endpoint BYOK
- A concrete policy for backward compatibility until Godot 5.0
Raise real-world problems, find people facing the same issue, and discuss solutions.4,500 issues0 comments
github (Other)
struct's lifetime requirements can be bypassed via covariant field assignment
Proposal to Reorganize the Moderation Team and Review Moderation Policies
Progressive FPS degradation appears to be related to dota2.com — blocking the domain prevents the performance loss
proposal: container/...: generic collection types
Better Custom Endpoint BYOK
A concrete policy for backward compatibility until Godot 5.0
New MTP models not supported
Tracking: 429 / Capacity Issues
Delete matching parentheses, brackets, or braces
- VSCode Version: Code 1.16.1 (27492b6bf3acb0775d82d2f87b25a93490673c6d, 2017-09-14T16:38:23.027Z) - OS Version: Windows_NT x64 6.3.9600 - Extensions: Extensions are disabled --- Steps to Reproduce: 1. Create a new file. 2. Paste the following code: `var foo = (1 + bar) + baz;`. 3. Position the cursor before the first `(`. It and its matching parenthesis should highlight. 4. Hit the delete key. 5. Only the first parenthesis is deleted. It would be useful if the corresponding parenthesis, brace, or bracket were deleted when the targeted one was. I see two ways to accomplish this: 1. Add a shortcut for both backspace and delete that does the operation on the matching character. 2. Automatically do the deletion. This could be an extension of the already-existing "editor.autoClosingBrackets" setting or (more likely) a new setting that governs this behavior. <!-- Launch with `code --disable-extensions` to check. --> Reproduces without extensions: Yes
Comments (0)
No comments yet. Start the discussion.