From 9f1ff63be73dcea095a66298c452120fbc34deee Mon Sep 17 00:00:00 2001
From: Lucas Trzesniewski
Date: Tue, 5 Dec 2023 22:00:04 +0100
Subject: [PATCH] Update to 2023.3
---
.gitignore | 2 +-
.../ContextActionBypassIsAvailable.cs | 2 +-
.../Abc.MoqComplete.Tests/app.config | 19 -------------------
.../Returns/BaseReturnsMethodProvider.cs | 8 ++------
.../Abc.MoqComplete/Resources/plugin.xml | 6 +++---
Abc.MoqComplete/Directory.Build.props | 6 ++----
Abc.MoqComplete/Plugin.props | 4 ++--
7 files changed, 11 insertions(+), 36 deletions(-)
delete mode 100644 Abc.MoqComplete/Abc.MoqComplete.Tests/app.config
diff --git a/.gitignore b/.gitignore
index a7e9552..f59271d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -34,4 +34,4 @@ packages/
*.nupkg
*/.idea/*
*.zip
-*.nupkg
+*.lock
diff --git a/Abc.MoqComplete/Abc.MoqComplete.Tests/ContextAction/ContextActionBypassIsAvailable.cs b/Abc.MoqComplete/Abc.MoqComplete.Tests/ContextAction/ContextActionBypassIsAvailable.cs
index 7996f43..3e8b789 100644
--- a/Abc.MoqComplete/Abc.MoqComplete.Tests/ContextAction/ContextActionBypassIsAvailable.cs
+++ b/Abc.MoqComplete/Abc.MoqComplete.Tests/ContextAction/ContextActionBypassIsAvailable.cs
@@ -24,7 +24,7 @@ protected override void ProcessAction(Lifetime lifetime, Func();
var caretPosition = GetCaretPosition() ?? CaretPositionsProcessor.PositionNames.SelectMany(_ => CaretPositionsProcessor.Positions(_) as IEnumerable).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 =>
diff --git a/Abc.MoqComplete/Abc.MoqComplete.Tests/app.config b/Abc.MoqComplete/Abc.MoqComplete.Tests/app.config
deleted file mode 100644
index 9cb4679..0000000
--- a/Abc.MoqComplete/Abc.MoqComplete.Tests/app.config
+++ /dev/null
@@ -1,19 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Abc.MoqComplete/Abc.MoqComplete/CompletionProvider/Returns/BaseReturnsMethodProvider.cs b/Abc.MoqComplete/Abc.MoqComplete/CompletionProvider/Returns/BaseReturnsMethodProvider.cs
index 53c75c6..96ef567 100644
--- a/Abc.MoqComplete/Abc.MoqComplete/CompletionProvider/Returns/BaseReturnsMethodProvider.cs
+++ b/Abc.MoqComplete/Abc.MoqComplete/CompletionProvider/Returns/BaseReturnsMethodProvider.cs
@@ -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;
@@ -89,7 +85,7 @@ protected override bool AddLookupItems(CSharpCodeCompletionContext context, IIte
private static void AddProposedCallback(CSharpCodeCompletionContext context, IItemsCollector collector, string proposedCallback)
{
- LookupItem item = CSharpLookupItemFactory.Instance.CreateKeywordLookupItem(context,
+ var item = CSharpLookupItemFactory.Instance.CreateKeywordLookupItem(context,
proposedCallback,
TailType.None,
PsiSymbolsThemedIcons.Method.Id);
diff --git a/Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml b/Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml
index 5e42e70..b01ffd4 100644
--- a/Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml
+++ b/Abc.MoqComplete/Abc.MoqComplete/Resources/plugin.xml
@@ -1,13 +1,13 @@
com.intellij.modules.rider
-
+
Abc.MoqComplete.Rider
MoqComplete
- 2023.2.0.1
+ 2023.3.0.0
ABC Arbitrage Asset Management
Code completion for Moq: Provide completion for It.IsAny, Callback, suggest mock in constructor
]]>
-
\ No newline at end of file
+
diff --git a/Abc.MoqComplete/Directory.Build.props b/Abc.MoqComplete/Directory.Build.props
index aa22cfa..40d372d 100644
--- a/Abc.MoqComplete/Directory.Build.props
+++ b/Abc.MoqComplete/Directory.Build.props
@@ -17,14 +17,12 @@
-
-
- 232.0.0.0
+ 233.0.0.0
- 2023.2.0.1
+ 2023.3.0.0
diff --git a/Abc.MoqComplete/Plugin.props b/Abc.MoqComplete/Plugin.props
index 5f1b17a..26e0ae6 100644
--- a/Abc.MoqComplete/Plugin.props
+++ b/Abc.MoqComplete/Plugin.props
@@ -1,7 +1,7 @@
- 2023.2.0-eap02
+ 2023.3.0
MoqComplete
Code completion for Moq
ABC Arbitrage Asset Management
@@ -11,4 +11,4 @@
https://opensource.org/licenses/MIT
https://raw.githubusercontent.com/Abc-Arbitrage/Abc.MoqComplete/master/Abc.MoqComplete/Deployment/icon.png
-
\ No newline at end of file
+