-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
[Feature request] automatically close brackets and quotes even when no text is selected #272
Comments
The situation is somewhat complicated. |
I studied the behavior of the auto-completion of parentheses in VS Code. It is not easy for Codist to add the ")" since it is unpredictable whether Codist or VS will complete the parentheses pair first. |
@wmjordan I did it: Auto Close & Surround Punctuations. Fill free to include it to your extension |
Interesting! |
Please add in your extention the ability to automatically close brackets even when no text is selected.
Automatic brace completion
does not works properly inVisual Studio IDE
:but
VSCode
does this job correctly:I would disable
Visual Studio IDE
standard behavior:and enable your extension's option. I suggest to add into settings one more option:
AutomaticalyCloseAnyBraces: true/false
enabling this option should cause automatically close open braces: (), {}, []
mouse cursor should be between braces: (|), {|}, [|]
to avoid incorrect behavior angle brackets should not auto close:
if(a<>b)
P.S. Please do it also for double quotes
"|"
and single quotes'|'
The text was updated successfully, but these errors were encountered: