R# 3.0 (#460) OptimizeUsings

In R# 2.5.2 open API i use class OptimizeUsings2 for optimize usings. Unfortunately
this does not exist in R# 3.0 open API.
What class i can use for optimize usings in R# 3.0 open API?


0
1 comment

This functionalty is moved to code formatter services

Get the code formatting service for PSI language:

LanguageServiceManager.Instance.GetLanguageService(CSharpLanguageService.CSHARP).CodeFormatter

And then it contains "OptimiseImports" methods


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

In R# 2.5.2 open API i use class OptimizeUsings2 for optimize usings.
Unfortunately this does not exist in R# 3.0 open API.
What class i can use for optimize usings in R# 3.0 open API?

>



0

Please sign in to leave a comment.