Why is code formatting not making this type a var?
using (Database db = new Database())
{
...
}
In my code clean up settings I have
replace direction: can change explicit to 'var' and vice versa
'foreach' iterator declaration style: Use 'var' except for simple types
local declaration style: Use 'var' except for simple types
Please sign in to leave a comment.
Hello Chris,
Try switching the 'Local variable declaration style' option to 'Use var except
for built-in types'. Let me know if this helps. Thank you!
Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"