Skip to content

Commit

Permalink
Merge pull request #31 from mfilippov/mf-fix-api-usage
Browse files Browse the repository at this point in the history
Migrate to new API #30
  • Loading branch information
lconstan committed Jun 7, 2022
2 parents a5b16bb + 649a162 commit c418056
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public Dictionary<string, string> GetClassFields(IClassBody classBody, PsiLangua

foreach (var referenceName in fields)
{
var types = referenceName.TypeArguments.Select(x => x.GetPresentableName(languageType, DeclaredElementPresenterTextStyles.Empty).Text);
var types = referenceName.TypeArguments.Select(x => x.GetPresentableName(languageType, TypePresentationStyle.Default).Text);
var strType = string.Join(",", types);
var mockType = GetGenericMock(strType);
var field = (IFieldDeclaration)referenceName.Parent.NextSibling.NextSibling;
Expand Down
4 changes: 2 additions & 2 deletions Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<idea-plugin require-restart="true">
<depends>com.intellij.modules.rider</depends>
<idea-version since-build="211.6693" />
<idea-version since-build="222.2270" />
<id>Abc.MoqComplete.Rider</id>
<name>MoqComplete</name>
<version>1.99.10</version>
<version>2022.1.0.1</version>
<vendor url="https://github.com/Abc-Arbitrage/Abc.MoqComplete">ABC Arbitrage Asset Management</vendor>
<description><![CDATA[
<p>Code completion for Moq: Provide completion for It.IsAny, Callback, suggest mock in constructor</p>
Expand Down
6 changes: 3 additions & 3 deletions Abc.MoqComplete/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
<Import Project="Plugin.props" />

<PropertyGroup>
<WaveVersionBase>$(SdkVersion.Substring(2,2))$(SdkVersion.Substring(5,1))</WaveVersionBase>
<WaveVersion>$(WaveVersionBase).0.0$(SdkVersion.Substring(8))</WaveVersion>
<WaveVersionBase>2$(SdkVersion.Substring(2,2))</WaveVersionBase>
<WaveVersion>$(WaveVersionBase).0.0</WaveVersion>
</PropertyGroup>

<PropertyGroup>
<Version>2022.1.0.1</Version>
<Version>2022.2.0.1</Version>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion Abc.MoqComplete/Plugin.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
<SdkVersion>2022.1.0</SdkVersion>
<SdkVersion>2022.2.0-eap01</SdkVersion>
<Title>MoqComplete</Title>
<Description>Code completion for Moq</Description>
<Authors>ABC Arbitrage Asset Management</Authors>
Expand Down

0 comments on commit c418056

Please sign in to comment.