Changing brackets pair in code (feature request)
See original GitHub issueAssume, I have a list in Python. For example:
[1, 2, 3]
But, I want to change this list to a tuple by changing the square brackets to round brackets:
(1, 2, 3)
It takes some time to change the square brackets to round brackets
So, VS Code should include a refactoring option for lists and tuples in Python when we are on a list or a tuple to change the type of bracket pair.
Thank you very much
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Bracket pair colorization 10000x faster - Visual Studio Code
In particular, bracket pair colors should not be requested asynchronously as ... The feature can be enabled by adding the setting "editor.
Read more >Replace matching brackets for parenthesis vscode
Is there a way to quickly replace matching brackets for matching parenthesis (or any other opening/closing characters) in vscode?
Read more >Adding color to bracket pairs - Visual Studio Blog
Granted, they all colorize bracket pairs, but the way they do it differs and a lot of them provide additional features and options....
Read more >Rainbow Brackets - IntelliJ IDEs Plugin - JetBrains Marketplace
Rainbow Brackets for IntelliJ based IDEs/Android Studio/HUAWEI DevEco Studio. The free features are sponsored by CodeStream. Eliminate context switching and ...
Read more >Visual Studio plays catchup with VS Code again - DevClass
Bracket Pair Colorization, the same feature, was built into Visual ... to have this feature available in Visual Studio,” said the request.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Also for unselected text, there could be a command:
Delete Bracket Pairs And select Between
after executed the command:
Or may be this command is enough and we don’t need any other command. is it also fixes https://github.com/microsoft/vscode/issues/133663 ?
I like this! Could be bound to Ctrl+Delete. Then you could easily delete both the bracket pair and the content within.