Home
ReSharper Support | JetBrains
Contact Support
Community
Sign in
Matt Ellis
Total activity
1008
Last activity
August 03, 2023 15:35
Member since
July 05, 2009 00:17
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
397
Activity overview
Articles (0)
Posts (4)
Comments (607)
Sort by recent activity
Recent activity
Votes
Created
December 20, 2012 12:23
Hi Evan. You should be able to use an instance of the IFinder interface to get what you need. Once you've got the parameter, you can call something like:var finder = parameter.GetPsiServices().Find...
Community
ReSharper Open API / SDK
Finding references of a variable in SDK
0 votes
Created
December 19, 2012 12:28
Yep, overlaps are not (strictly speaking) allowed - only one is used. The way the get resolved depends on the attributes to both sets of highlights.
Community
ReSharper Open API / SDK
Gold file only has only one Highlight when two Highlights are expected...
0 votes
Created
December 17, 2012 10:56
Hi Ollie. I'm just looking into this - do you have an example of the code you're trying to analyse? Is it just a simple method call, or a variable assignment, or something else?ThanksMatt
Community
ReSharper Open API / SDK
IInvocationExpression and accessing the return type
0 votes
Created
December 18, 2012 15:58
There are a few ways to get this a bit cleaner. Firstly, you could use the ExtraAssemblyResolveFoldersCookie to provide a path to look in for the files mentioned in TestReferences. This looks like ...
Community
ReSharper Open API / SDK
IInvocationExpression and accessing the return type
0 votes
Created
December 17, 2012 10:24
Hi Andrew. The key is to register the highlighter as configurable. You need to create an assembly level attribute using RegisterConfigurableSeverityAttribute, passing in the same id that you use in...
Community
ReSharper Open API / SDK
How to get plugin warnings into Inspection Severity dialog?
0 votes
Created
December 11, 2012 17:35
The file generated by the test sits side by side with the gold file - it should have an extension of "tmp" (or "tmp.cs", I forget exactly). You can then diff the files and see the exact differences...
Community
ReSharper Open API / SDK
How can I see test output for comparsion to 'gold' file
0 votes
Created
December 10, 2012 10:40
You can write a plugin that creates new test sessions and adds unit test elements, and you should also be able to run these sessions. I'm not sure if ReSharper supports running multiple sessions in...
Community
ReSharper Open API / SDK
How can I run all unit tests in different sessions?
0 votes
Created
December 10, 2012 22:08
If you're in a plugin, you should use the PSI, since you're working with edit-time code, and not necessarily compilable code, so reflection won't help. The simplest way to get overloads is this: Fi...
Community
ReSharper Open API / SDK
Best way to lookup alternative (overloads) for a method
0 votes
Created
December 04, 2012 12:13
This usually means the file isn't "correct" - there's a syntax or reference error somewhere. Perhaps the method isn't declared properly (no braces, no body, missing brackets, that sort of thing), o...
Community
ReSharper Open API / SDK
DeclaredElement return type is ???
0 votes
Created
December 07, 2012 16:08
The IType returned has an inherited property of Module, which is an IPsiModule. This represents either the Visual Studio project or assembly that the type is defined in. You can try to downcast to ...
Community
ReSharper Open API / SDK
DeclaredElement return type is ???
0 votes
«
First
‹
Previous
Next
›
Last
»