Don't include parentheses on new class statement

Completed

Is there an option to not include the parentheses when autocompleting a new class instance statement?  I usually want to do an object initializer, and not to include the redundant empty parens.

so auto-completing "Foo" from here:

var foo = new F 

instead of expanding to:

var foo = new Foo()

would only expand to the following instead, allowing me to hit the space bar and { and start filling in properties, instead of having to first delete the empty parens:

var foo = new Foo

Am I just missing some setting or is this not available?

 

 

1
1 comment
Avatar
Permanently deleted user

This appears to be the same issue as https://rider-support.jetbrains.com/hc/en-us/community/posts/206003004-Autocomplete-doesn-t-work-like-in-VS , so I guess it's not available yet.

0

Please sign in to leave a comment.