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
July 16, 2013 11:55
You should be able to check methodDeclaration.DeclaredElement.ReturnType.IsVoid(), using the PredefinedTypeExtensions extension methods, and where ReturnType is defined on the declared element's IP...
Community
ReSharper Open API / SDK
Checking the return type of a method
0 votes
Created
July 09, 2013 16:53
Hi Toa. What are you trying to achieve? These values are really there for calculating statistics on most frequently used items in code completion, and are not really intended to be an indication of...
Community
ReSharper Open API / SDK
CompletionStatisticsManager
0 votes
Created
July 11, 2013 15:24
OK, I don't think there's a direct way to do this, but it might be possible with a bit of legwork. I'd not recommend using the statistics manager - it doesn't seem suitable for this. What you could...
Community
ReSharper Open API / SDK
CompletionStatisticsManager
0 votes
Created
July 10, 2013 14:51
You should take a look at the FindText sample in the SDK. This will search for text usage, but requires you to type text into a dialog text box, rather than using the current selection. If you want...
Community
ReSharper Open API / SDK
Get word at caret position
0 votes
Created
July 02, 2013 10:05
You can use context.GetData(JetBrains.ReSharper.Psi.Services.DataConstants.SELECTED_EXPRESSION) to get an ITreeNode that represents the currently selected expression (this just calls ExpressionSele...
Community
ReSharper Open API / SDK
How to check if the selection is within a method body?
0 votes
Created
June 12, 2013 08:26
Sadly, because the PSI trees are so extensive, and different for each file type (there is a different PSI tree for C#, JS, CSS, ASPX, Razor, XML, etc. They're different syntaxes, so get a different...
Community
ReSharper Open API / SDK
Finding the Class Declarations in an ICSharpFile
0 votes
Created
June 12, 2013 08:01
Hi Christian. It's hard to say what's wrong without some more information - a full stack trace would help, and it would be brilliant to see some code. If you'd rather email me direct, you can send ...
Community
ReSharper Open API / SDK
"Failed to start the tests host." - Testing a test runner.
0 votes
Created
May 08, 2013 12:58
ReSharper is using "new CancellationToken" because CancellationToken is a struct, and "default(CancellationToken)" is exactly the same as "new CancellationToken()".If you really want to use "defaul...
Community
ReSharper Open API / SDK
Help Assigning default value to a parameter in a Quick Fix
0 votes
Created
April 24, 2013 09:13
Since ReSharper is a plugin to Visual Studio, and supports the file types that VS supports, it relies on Visual Studio's language services to provide syntax highlighting, and it's own highlighting ...
Community
ReSharper Open API / SDK
The better way to provide syntax highlighting for your own PSI
0 votes
Created
March 18, 2013 11:38
While I haven't tried it, it looks like it will format the code correctly for you. The implementation of ModificationUtil.ReplaceChild will get an instance of ICodeFormatter and format the replaced...
Community
ReSharper Open API / SDK
Formatting a replacement expression
0 votes
«
First
‹
Previous
Next
›
Last
»