Don't include parentheses on new class statement


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?




Please sign in to leave a comment.