feature request: use { auto add closing bracket
See original GitHub issueuse std::collections::HashMap;
^---- if I add a '{' here it would be great if
you added a closing '}' before the semicolon.
I can’t personally think of a situation where I wouldn’t want that.
Quite often we go from one import to two, and at that point we have to introduce the braces. You could even add a ', ’ and put the carrot before the closing brace, but I think that might be a little disconcerting.
Also the corollary,
use std::collections::{HashMap};
^ if this '{' is deleted then it would be great to auto remove the closing brace.
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Automatically add brackets for interpolated strings. · Issue ...
I imagined this feature would work like auto closing bracket pairs. Adding #{} to the completion items is more in line with Solargraph's ......
Read more >Automatic addition of Brackets/parenthesis when typing a ...
The built-in tools of Visual Studio does automatically complete the closing parenthesis, closing square braces, and closing brackets. To accept the closing ...
Read more >Option to disable auto-close parenthesis? - Logseq forum
I want to disable auto-closing parenthesis feature.
Read more >How to implement auto closing bracket feature | PyQt5 Tutorial
Auto - closing or self- closing, are some of the terms to describe when you insert a character (starting tag) that has a...
Read more >auto-pairing brackets? - Google Groups
feature request or would like to report a problem, please email ... I find myself constantly deleting the closing bracket etc. when using...
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 Free
Top 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
So it’s enabled by default now – Ok. 0.0
Surrounding selected text with paired symbol can be enabled/disabled via
Preferences | Editor | General | Smart Keys | Surround a selection with a quote or brace
option. And since 2019.2 it’s enabled by default