How to make ReSharper never delete "using System;"?

I want ReSharper do not delete "using System;" from any of my cs file.
How to do it?

5 comments
Comment actions Permalink

Just out of curiosity, why do you want that?

"Dzmitry Lahoda"  wrote in message
news:29954471.68971307962057954.JavaMail.devnet@confluence.jetbrains.net...

I want ReSharper do not delete "using System;" from any of my cs file.
How to do it?

---
Original message URL: http://devnet.jetbrains.net/message/5306263#5306263

0
Comment actions Permalink

Hello Dzmitry,

Just add System to 'Namespaces that should not be removed' under ReSharper
| Options | Languages | C# | Namespace Imports. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I want ReSharper do not delete "using System;" from any of my cs file.
How to do it?

---
Original message URL:
http://devnet.jetbrains.net/message/5306263#5306263



0
Comment actions Permalink

I have big solution were I renaming everything.
ReSharper on this solution deletes "using Sytem;" for some reason from classes which really use it.

0
Comment actions Permalink

Hello Dzmitry,

This looks like a bug to me. Could you please try reproducing this behavior
on a small sample solution and attach it here, so that we could investigate
this problem? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I have big solution were I renaming everything.
ReSharper on this solution deletes "using Sytem;" for some reason from
classes which really use it.
---
Original message URL:
http://devnet.jetbrains.net/message/5306341#5306341



0
Comment actions Permalink

I already made it
http://youtrack.jetbrains.net/issue/RSRP-272188
But I failed to repro issue on small solution.

It seems similar to
http://youtrack.jetbrains.net/issue/RSRP-200568

0

Please sign in to leave a comment.