R# 3.0 RC Optimize usings and duplicates directives

I have next code::
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;

using System;

using ScreenSaver1.Properties;


After optomize::
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;

using ScreenSaver1.Properties;


4 comments
Comment actions Permalink

Probably you've prohibited the "System" namespace removing in options....

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Alexander Nesterenko" <framework3705@mail.ru> wrote in message
news:57490f0992a78c9815059316f22@news.jetbrains.com...
>I have next code::

using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;

>

using System;

>

using ScreenSaver1.Properties;

>
>

After optomize::
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Windows.Forms;

>

using ScreenSaver1.Properties;

>



0
Comment actions Permalink

Hello Eugene,

I have System as "namespace to always import", and never saw duplicate namespaces...

Is there anything special about this file?

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


EP> Probably you've prohibited the "System" namespace removing in
EP> options....
EP>


0
Comment actions Permalink

Probably you've prohibited the "System" namespace removing in options....


It's true, but i what delete duplicates.


0
Comment actions Permalink

I have System as "namespace to always import", and never saw duplicate
namespaces...

>

Is there anything special about this file?


My import options is attachmented. I create ConsoleApplication project, add "using System;" and call optimize usings;



Attachment(s):
imports.GIF
0

Please sign in to leave a comment.