Skip to content

Commit

Permalink
Update to 2023.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ltrzesniewski committed Dec 5, 2023
1 parent 114bf24 commit 9f1ff63
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ packages/
*.nupkg
*/.idea/*
*.zip
*.nupkg
*.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ protected override void ProcessAction(Lifetime lifetime, Func<ITextControl, TAct
var solution = project.GetSolution();
var documentManager = solution.GetComponent<DocumentManager>();
var caretPosition = GetCaretPosition() ?? CaretPositionsProcessor.PositionNames.SelectMany(_ => CaretPositionsProcessor.Positions(_) as IEnumerable<CaretPosition>).First("Caret position is not set. Please add {caret} or {selstart} to a test file.");
var textControl = OpenTextControl(lifetime, project, caretPosition);
var textControl = OpenTextControl(lifetime, caretPosition);
var name = InitTextControl(textControl);
var contextAction = actionCreator(textControl);
ExecuteWithGold(textControl.Document, sw =>
Expand Down
19 changes: 0 additions & 19 deletions Abc.MoqComplete/Abc.MoqComplete.Tests/app.config

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,16 +1,12 @@
using System;
using System.Collections.Generic;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abc.MoqComplete.Extensions;
using Abc.MoqComplete.Services;
using Abc.MoqComplete.Services.MethodProvider;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Feature.Services.CodeCompletion;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.AspectLookupItems.BaseInfrastructure;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.AspectLookupItems.Info;
using JetBrains.ReSharper.Feature.Services.CodeCompletion.Infrastructure.LookupItems;
using JetBrains.ReSharper.Feature.Services.CSharp.CodeCompletion.Infrastructure;
using JetBrains.ReSharper.Features.Intellisense.CodeCompletion.CSharp;
Expand Down Expand Up @@ -89,7 +85,7 @@ protected override bool AddLookupItems(CSharpCodeCompletionContext context, IIte

private static void AddProposedCallback(CSharpCodeCompletionContext context, IItemsCollector collector, string proposedCallback)
{
LookupItem<TextualInfo> item = CSharpLookupItemFactory.Instance.CreateKeywordLookupItem(context,
var item = CSharpLookupItemFactory.Instance.CreateKeywordLookupItem(context,
proposedCallback,
TailType.None,
PsiSymbolsThemedIcons.Method.Id);
Expand Down
6 changes: 3 additions & 3 deletions Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<idea-plugin require-restart="true">
<depends>com.intellij.modules.rider</depends>
<idea-version since-build="232.5150" />
<idea-version since-build="233.11799" />
<id>Abc.MoqComplete.Rider</id>
<name>MoqComplete</name>
<version>2023.2.0.1</version>
<version>2023.3.0.0</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>
]]></description>
<change-notes>
</change-notes>
</idea-plugin>
</idea-plugin>
6 changes: 2 additions & 4 deletions Abc.MoqComplete/Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@
<Import Project="Plugin.props" />

<PropertyGroup>
<!-- <WaveVersionBase>2$(SdkVersion.Substring(2,2))</WaveVersionBase>-->
<!-- <WaveVersion>$(WaveVersionBase).0.0</WaveVersion>-->
<WaveVersion>232.0.0.0</WaveVersion>
<WaveVersion>233.0.0.0</WaveVersion>
</PropertyGroup>

<PropertyGroup>
<!-- The version of the MoqComplete plugin -->
<Version>2023.2.0.1</Version>
<Version>2023.3.0.0</Version>
</PropertyGroup>

</Project>
4 changes: 2 additions & 2 deletions Abc.MoqComplete/Plugin.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<!-- The used sdk version -->
<SdkVersion>2023.2.0-eap02</SdkVersion>
<SdkVersion>2023.3.0</SdkVersion>
<Title>MoqComplete</Title>
<Description>Code completion for Moq</Description>
<Authors>ABC Arbitrage Asset Management</Authors>
Expand All @@ -11,4 +11,4 @@
<PackageLicenseUrl>https://opensource.org/licenses/MIT</PackageLicenseUrl>
<PackageIconUrl>https://raw.githubusercontent.com/Abc-Arbitrage/Abc.MoqComplete/master/Abc.MoqComplete/Deployment/icon.png</PackageIconUrl>
</PropertyGroup>
</Project>
</Project>

0 comments on commit 9f1ff63

Please sign in to comment.