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
June 24, 2014 09:16
You can just run it in the constructor of a [ShellComponent]. If you have other code that requires this to happen first, you can just pass the first class in as a constructor dependency to the seco...
Community
ReSharper Open API / SDK
Is there a start up process for a plugin?
0 votes
Created
June 23, 2014 15:43
You can't modify the document during a PSI transaction - ReSharper is expecting the PSI (that is, the abstract syntax tree) to be modified, and it will resync the document once the PSI transaction ...
Community
ReSharper Open API / SDK
How to add text to an empty file?
0 votes
Created
June 23, 2014 16:33
You can use the ToSourceFile() extension method on IProjectFile.
Community
ReSharper Open API / SDK
How to add text to an empty file?
0 votes
Created
June 23, 2014 20:47
Gah! Half an answer. Sorry. That will do the trick, but it's better to call one of the overloaded GetPsiFiles methods. These defer to the cached files, but will also make sure the cache is primed f...
Community
ReSharper Open API / SDK
How to add text to an empty file?
0 votes
Created
June 23, 2014 09:34
I think the path you pass in has to be fully qualified, not relative. Looking at the implementation of GetOrCreateProjectFolder, it first checks that path is defined under the location of the proje...
Community
ReSharper Open API / SDK
How to add a folder called "Foo" to a project?
0 votes
Created
June 12, 2013 08:44
Hi Brian. There isn't a plugin that currently does this, but I think you could write something. You'd need to walk through the solution, into projects and call cleanup on each file, but before call...
Community
ReSharper Open API / SDK
How to run 'Cleanup Code' for all Pending Changes.
0 votes
Created
May 20, 2014 16:34
The best way is to look at the type of the module where the element is declared. If it's an instance of IProjectPsiModule, it's come from a project in the current solution. If it's IAssemblyPsiModu...
Community
ReSharper Open API / SDK
How to check if an ITypeMember/IParameter is "own code"
0 votes
Created
April 28, 2014 10:24
There are essentially four scopes for components, and the two interesting ones are documented in the section about the Component Model: http://confluence.jetbrains.com/display/NETCOM/2.02+Component...
Community
ReSharper Open API / SDK
External annotations when testing highlightings
0 votes
Created
April 28, 2014 10:39
Well, gosh, I didn't know you could add attributes to type parameters :)I'll look into it, and let you know what's going on.
Community
ReSharper Open API / SDK
Getting attribute instances from TypeParameter
0 votes
Created
April 22, 2014 14:46
It's a bit of a co-operative thing. The highlighting consumer has no support for comments - it will always add the highlight it's given.Instead, you need to call one of the AddHighlighting extensio...
Community
ReSharper Open API / SDK
"Suppress" comments
0 votes
«
First
‹
Previous
Next
›
Last
»