Reputation: 6269
When I use AI-assisted IntelliCode in Visual Studio 2022, I want that Visual Studio also inserts the closing curly brace - not only the opening one. The cursor should then be between the brackets.
Does anyone know if this can be configured somewhere?
Upvotes: 1
Views: 199
Reputation: 3690
There is an option Automatic brace completion, in Tools > Options > Text Editor > All Languages > General > Automatic brace completion
The setting can also be enabled per language if you want that set only for a specific language.
Reference:
How to turn off brackets/quotes auto-completion in Visual Studio
Upvotes: 0