Ollie Riches
- Total activity 67
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 17
-
Created Formatting a replacement expression
If I'm replacing a an expression how can I make sure the replacement expression is formatted with the correct spacing & newlines etc?I have something similar to the following inside a PSI manager t... -
Created Accessing previous\next invocation expression from current invocation expression
When an element problem analyzer is called for a method invocation is it possible to get access to previous or next IInvocationExpression instance?So if I have the following code:var tmp = Observab... -
Created Adding a namespace reference to a file
How can I check if a namespace is already in a C# source file and if it's not there how do I add it?Is there a sample for this?taOllie -
Created How to implement right click menu item\action
Is there a sample that demostrates how to refactor a method\parameter similar to the R# replace a IList<T> with IEnumerable<T>I can understand how to do the highlighting of the actual code but I'm ... -
Created Resolving type created by CSharpElementFactory.CreateExpression
If I create a new expression using the CSharpElementFactory.CreateExpression method how can I get this to resolve successfully, the new expression is test whether a certain overload would be valid... -
Created How to tell which way an extension method has been invoked?
How can I tell how an extension method was called, I have access to the IInvokedExpression and the IMethod but I am unsure on how to tell.e.g I want to know which one of the 2 possibilities was use... -
Created Resolving types not working during code cleanup
I'm tyring to write a simple code cleanup, I've looked and based it off the SamplePlugin in the SDK (C:\Program Files (x86)\JetBrains\ReSharper\v7.1\SDK\Samples\SamplePlugin\SamplePlugin\src\CodeCl... -
Created Greyed-out plugin menu item
I've removed the action to insert a menu item under the Resharper menu but even after removing the plugin from the plugin directory under program files when I restart VS I see a grey-out menu item ... -
Created Plugin not working with different version of .Net framework
I've built a plugin against version 4.0 of the framework - this is so that I can get support for the System.Reactive namespace in mscorlib assembly. The plugin does not reference any other librarie... -
Created Gold file only has only one Highlight when two Highlights are expected...
I have the following code to add a highlight when IInvocationExpression qualifies for a highlight. var file = expression.GetContainingFile(); var range = expression.GetDocumen...