Reporter | Thomas G. Mayfield (tgmayfield) |
---|---|
Created | Jan 6, 2012 10:30:42 PM |
Updated | Jan 6, 2012 10:30:42 PM |
Priority | Normal |
Type | Task |
Fix versions | No Fix versions |
State | Submitted |
Assignee | Unassigned |
Subsystem | Plugin API |
Affected versions | 6.1 |
Fixed in build | No Fixed in build |
Things that I used to access using static singletons have disappeared, and I can't seem to find any documentation for where to get them. Stumbling around I found:
CacheManager.GetInstance(solution) became provider.Solution.GetPsiServices().CacheManager
But how do I get the ICodeFormatter instance now? It used to be at CSharpFormatterHelper.FormatterInstance
I'd love to see a page on the wiki showing how to access what used to be static singletons.
CacheManager.GetInstance(solution) became provider.Solution.GetPsiServices().CacheManager
But how do I get the ICodeFormatter instance now? It used to be at CSharpFormatterHelper.FormatterInstance
I'd love to see a page on the wiki showing how to access what used to be static singletons.