Nested using blocks...
The code style options don't seem to allow for using blocks that always force braces unless there is an immediate nested using.
I want:
using (...)
{
...
}
and:
using (...)
using (...)
{
...
}
I don't want:
using (...)
...
and:
using (...)
{
using (...)
{
...
}
}
I have "Indent nested 'using' statements" set to false.
If I set "Braces in 'using' statement" to "Use braces for multiline", the first one loses its baces and the second one works.
If I set "Braces in 'using' statement" to "Remove braces", the first one works and the second one adds braces to them all.
Nathan
Please sign in to leave a comment.
Thnak you for the report.
This issue will be fixed shortly
--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Nathan Baulch" <nathan.baulch@gmail.com> wrote in message news:e5330k$n1c$1@is.intellij.net...
The code style options don't seem to allow for using blocks that always force braces unless there is an immediate nested using.
I want:
using (...)
{
...
}
and:
using (...)
using (...)
{
...
}
I don't want:
using (...)
...
and:
using (...)
{
using (...)
{
...
}
}
I have "Indent nested 'using' statements" set to false.
If I set "Braces in 'using' statement" to "Use braces for multiline", the first one loses its baces and the second one works.
If I set "Braces in 'using' statement" to "Remove braces", the first one works and the second one adds braces to them all.
Nathan