I don't think you can, using this method. I think UsingUtil will place it where the settings for the code say it should go - if you've set that up to be inside, it should be inside.
Cool. Are you R# settings set to put using statements inside the namespace declaration? If so, it kinda sounds like a bug that by default ReSharper would add them at the top of the file. I would expect it to honour your settings when adding.
Hi Ollie. Do you mean declaring a namespace ("namespace Foo {") or using a namespace ("using Foo;")?
adding a new using statement ("using Foo;")
ta
Ollie
I've found this previous question and answer on the forums - http://devnet.jetbrains.com/message/5218112#5218112
How do I add the 'using namespace' to nested scope - inside the namsepace for the file?
ta
Ollie
I managed to achieve it with the correct nesting of the 'using statement' - failing to find any nested instances it stick it at top of the file:
ta
Ollie
yeah my settings are for nested namespaces - i'll check later and see if it's doing it as expected.
ta
Ollie