Auto-insert closing brace has stopped working!
I've been using this as part of my Rider configuration for years with no issue, but for some reason it suddenly no longer works!
I checked the settings under Typing Assistance and ‘Auto-insert closing brace’ is set to ‘On typing an opening brace’. I've tried changing and saving this setting. Whatever I try, I'm not seeing Rider do anything when I type a brace (or after hitting Return). This is true whatever code context I'm trying to use (conditional, loop, function, etc).
I do see the cursor still tab in for the new line - it's just the brace insertion that fails.
Any ideas?
Please sign in to leave a comment.
Should have added: I'm running 2022.2.4, language is C#.
Hello Trepan,
Thank you for contacting Rider support.
Would you mind ensuring that the File | Settings | Editor | General | Typing Assistance | Braces and Parentheses | Auto-insert pair brackets, parentheses and quotes option is enabled?
Have a nice day!
Hi Dmitry, thanks for your reply. Yes, I have that set. All of these options are ticked (although I don't see ‘Join concatenated string’ in my version of Rider).
Oh… This gets weirder. I just noticed that brace insertion *is* working in some of my source files, but not in others! I can literally switch between two open files and see it work or fail.
Hello Trepan,
It sounds weird. Would you mind sharing additional information as described below?
Thank you in advance and have a nice day!
This issue has came to life again in 2025.2.1
WebStorm 2025.2.1
Build #WS-252.25557.126, built on August 27, 2025
Source revision: 483c40008f91e
Licensed to SyncPro LTD / Daniel Lemesh
Subscription is active until October 6, 2025.
Runtime version: 21.0.8+9-b1038.68 aarch64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.6.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 8192M
Cores: 10
Metal Rendering is ON
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
ru.adelf.idea.dotenv (252.23892.201)
JavaScriptDebugger (252.25557.131)
org.jetbrains.junie (252.284.116)
org.jetbrains.completion.full.line (252.25557.131)
org.editorconfig.editorconfigjetbrains (252.25557.131)
String Manipulation (9.16.0)
com.jetbrains.restClient (252.25557.131)
com.intellij.ml.llm (252.25557.126)
com.intellij.react (252.25557.131)
com.github.copilot (1.5.54-243)
mobi.hsz.idea.gitignore (4.5.6)
org.jetbrains.security.package-checker (252.25557.131)
dev.nx.console (1.46.3)
Hello Daniel,
I am sorry to hear you are running into such an issue. Would you mind submitting a bug to our tracker? Please attach a recording that demonstrates the issue and Rider logs (Help | Collect Logs and Diagnostic Data) collected shortly after reproducing the issue.
Please confirm the File | Settings | Editor | General | Typing Assistance | Braces and Parentheses | Auto-insert pair brackets, parentheses and quotes option is enabled.
Have a nice day!