Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
262 views

When I using pessimistic value analysis mode, I got hundreds of null related warning. I want to remove them in a non-invasive way. For example, there is a method in my source code, and I want to ...
White Wing's user avatar
0 votes
2 answers
84 views

I want to execute the tests from this R#/Rider plugin within a GitHub Action and therefore I need to run the tests from the CLI. Simply runnning dotnet test does exactly nothing but building the ...
mu88's user avatar
  • 5,699
0 votes
1 answer
74 views

I am exploring writing Plugins for ReSharper / Rider. Following the documentation's example, I am building a context action for ReSharper. Here is the context action, which is not doing much yet: [...
Kzryzstof's user avatar
  • 8,442
1 vote
1 answer
200 views

I am writing a Rider/ReSharper nav-from-here plugin which is supposed to determine a target type based on a symbol I am standing on using some simple rules, and finally, navigate to it. The first part ...
Mikhail  Dudin's user avatar
1 vote
0 answers
79 views

I'd like to know if the ReSharper API exposes the refactorings that come with the ReSharper plugin. So far I haven't been able to find anything on this in the docs or online. Basically I want to be ...
ChrisGS's user avatar
  • 380
1 vote
0 answers
59 views

I am creating a package which requires the text white space be in a specific format. Without arguing about the reason why lets just assume this is an okay requirement. I must then prevent visual ...
jwize's user avatar
  • 4,205
0 votes
1 answer
101 views

I am trying to develop a macro for c# templates, but it simply doesn't work. I have tried reading the whole (incomplete) documentation, or find the source code of a macro to use as an example, but I ...
Vitor Durante's user avatar
0 votes
1 answer
39 views

I created a composite context action that returns a couple of intentions with the following texts: [Tag] Action Second Action Now I'm trying to cover this action by tests. I did everything by ...
Alex Povar's user avatar
1 vote
1 answer
186 views

I'm trying to make a reshaprer plugin to add one (or more) configurations, besides executable, static method, project, at resharper's build/run window. Any guidelines where to start? Or how to access ...
dseferlis's user avatar
  • 467
1 vote
2 answers
89 views

I'm building a R# plugin and decided to cover it with tests. However, I noticed, that plugin tests cannot be run using the R# runner if plugin target version is the same as R# version. For instance, ...
Alex Povar's user avatar
10 votes
2 answers
152 views

The request: I'd like to be able to write an analyzer that can provide a proxy value for a certain expression and trigger a re-parsing of the document. The motivation: Our code is littered with ...
Erti-Chris Eelmaa's user avatar
0 votes
2 answers
133 views

For Resharper 7.1 we had written a Resharper Plugin - which was placed in the C:\Users\<UserName>\AppData\Roaming\JetBrains\ReSharper\vAny\Plugins folder. In VS 2012 the plugin worked without ...
danny's user avatar
  • 333
1 vote
1 answer
75 views

I am writing a ReSharper plugin and I want to do this: CSharpElementFactory factory = CSharpElementFactory.GetInstance(treeNode.GetPsiModule()); factory.CreateTypeMemberDeclaration( "public ...
Sam Holder's user avatar
  • 33.1k
1 vote
2 answers
89 views

I have a navigation plugin which I want to extend to allow support for context navigation. I've got everything I need except for the NavigationOptions instance. In my INavigateFromHereProvider I get ...
Sam Holder's user avatar
  • 33.1k
1 vote
1 answer
103 views

I'm using the ReSharper 8 sdk and want to find all inheritors of a particular generic interface, where the generic type is a particular type. I have asked a more general question which got most of the ...
Sam Holder's user avatar
  • 33.1k
3 votes
1 answer
417 views

I'm writing a plugin for resharper which I want to use to navigate from a ConcreteCommand -> ConcreteCommandHandler where those types look like this public class ConcreteCommand : ICommand public ...
Sam Holder's user avatar
  • 33.1k
1 vote
1 answer
95 views

As I learned from DevGuide testing ReSharper plugins works as follows: Plugin is loaded and test input file is passed to it Plugin performs it's actions on the passed file ReSharper's test environment ...
MadRatX's user avatar
  • 13
0 votes
1 answer
44 views

I'm in the process of trying to migrate a R# extension project from R# 6 to R# 8. (I've taken over a project that someone wrote, and I'm new to writing extensions.) In the existing v6 project there ...
snowcode's user avatar
  • 1,169
1 vote
2 answers
95 views

I'm writing a ReSharper 7.1 Generator plugin and need to get a list of all types declared in the current project (classes, interfaces and structs - IDeclaredType-s) for the GeneratorProviderBase<...
mbinic's user avatar
  • 31
1 vote
0 answers
267 views

Is there a way to hide the Namespace in Resharper Unit Test Runner? I'm using the Project Structure Group By and the Namespace is just cluttering the Window: Could this be fixed quickly in an ...
Philip Pittle's user avatar
0 votes
1 answer
691 views

I'm trying to install a custom ReSharper's plugin I wrote using the ReSharper Extension Manager but I get the error Attempting to resolve dependency 'JetBrains.ReSharper.SDK (≥ 8.2.1158)'. ...
user avatar
3 votes
1 answer
2k views

I'm using ReSharper 8.0 in Visual Studio 2010. ReSharper 8.0 uses a NuGet-based Extension Manager for plugin management, which makes it very easy to find and install plugins, but this Extension ...
AakashM's user avatar
  • 63.5k
3 votes
1 answer
133 views

I want to create a resharper plugin that removes properties with return type string from a class. I already created a IActionHandler which gets all properties from the selected class, but I don't know ...
Dennis's user avatar
  • 1,176
0 votes
1 answer
125 views

I have in hand an INamespaceBody, IClassDeclaration, and IMethod. I want to get the IMethodDeclaration corresponding to the IMethod and the IClassBody corresponding to the IClassDeclaration. But I am ...
wemblem's user avatar
  • 139
1 vote
0 answers
90 views

Is there any way to recognize and extract a chunk of code that has been highlighted by clicking and dragging using the ReSharper SDK?
wemblem's user avatar
  • 139
2 votes
1 answer
352 views

I'm writing a plugin for ReSharper 7, and I'd like to be able to use Call Tracking from inside my plugin. I haven't come across anything in the SDK that lets me do this, is it possible at all? ...
Wilka's user avatar
  • 29.8k
0 votes
2 answers
199 views

I want to write a ReSharper Action that just calls a ContextAction. Is this possible? A ContextAction takes a Solution as a parameter, and an Action gets a DataContext on construction. So the question ...
Matthew Piziak's user avatar
1 vote
2 answers
263 views

I wrote a Resharper plugin that seems to only work when users have the Resharper SDK installed. Is there a way to package the required libraries into the plugin dll, so that users just need to drop ...
Matthew Piziak's user avatar
1 vote
3 answers
102 views

I'm writing a Resharper ContextAction, and the progress indicator that pops up after a second keeps stealing the focus from my text box. How can I suppress the progress indicator that gets passed to ...
Matthew Piziak's user avatar
2 votes
1 answer
120 views

I want to create a Resharper ContextAction which takes a string from the user. How can I create a box with an input field whose entered value can be processed inside the ExecutePsiTransation method?
Matthew Piziak's user avatar
0 votes
2 answers
121 views

In the Resharper API, JetBrains.Resharper.Psi.Csharp.Tree.AddAttributeBefore takes an IAttribute param, and an IAttribute anchor. How are these arguments different, and how can they be constructed?
Matthew Piziak's user avatar
3 votes
1 answer
339 views

I'd like to write a Resharper plugin that lets me generate code in another class based on highlighted text, and the API isn't the most transparent. What methods should I look at to get access to ...
Matthew Piziak's user avatar
2 votes
1 answer
198 views

I am currently writing a ReSharper 6 Plugin that should add Warnings to my IDE. These are read from an XML file with a LineNumber and other data. So far I have created an IDaemonStage with ...
Simon Woker's user avatar
  • 5,034
1 vote
2 answers
396 views

I want to write a test framework extension for resharper. The docs for this are here: http://confluence.jetbrains.net/display/ReSharper/Test+Framework+Support One aspect of this is indicating if a ...
Frank Schwieterman's user avatar
0 votes
2 answers
6k views

I just installed Stylecop 4.5 RC. I also installed ReSharper 5.1. However, I don't see StyleCop in the Tools section of ReSharper. Is ReShaper supposed to be able to get my code up to stuff with ...
tofutim's user avatar
  • 23.6k