I'm a real Java guy so C# isn't far from my comfort zone, but what really is is the way Rider auto-completes my curly braces. In java I've always learned the convention to be the following:
public void thisIsAnExample() {
}
Rider, however, inserts braces like this:
public void thisIsAnotherExample()
{
}
What setting should I change for this? I already dug through the Jetbrains Rider documentation but it doesn't seem to say what I'm looking for.
Whilst I suggest you embrace the C# style for C#, as it will help you differentiate between C# and java/javascript, the way to manage these types of behaviors universally between IDEs is with EditorConfig
@RetiredNinja posted a direct reference to the Rider EditorConfig docs
# Java style braces on the same line [resharper_]csharp_brace_style = end_of_line [resharper_]csharp_type_declaration_braces = end_of_line [resharper_]csharp_empty_block_style = together_same_line [resharper_]type_declaration_braces = end_of_line [resharper_]brace_style = end_of_line [resharper_]empty_block_style = together_same_line
If you choose not to use the EditorConfig file, then you can edit the Rider IDE settings directly
Settings Menu > Editor > Code Style > C#
The power of EditorConfig is two-fold: