未验证 提交 8735cb6b 编写于 作者: I Ivan Basov 提交者: GitHub

Merge pull request #37983 from avodovnik/dev/anvod/commandhandlerordering

Ensure SplitStringLiteralCommandHandler is ordered after the completion handler
......@@ -2,12 +2,14 @@
using System.ComponentModel.Composition;
using System.Threading;
using Microsoft.CodeAnalysis.Editor;
using Microsoft.CodeAnalysis.Editor.Shared.Extensions;
using Microsoft.CodeAnalysis.Editor.Shared.Utilities;
using Microsoft.CodeAnalysis.Formatting;
using Microsoft.CodeAnalysis.Options;
using Microsoft.CodeAnalysis.Text;
using Microsoft.VisualStudio.Commanding;
using Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion;
using Microsoft.VisualStudio.Text;
using Microsoft.VisualStudio.Text.Editor;
using Microsoft.VisualStudio.Text.Editor.Commanding.Commands;
......@@ -21,6 +23,8 @@ namespace Microsoft.CodeAnalysis.Editor.CSharp.SplitStringLiteral
[Export(typeof(VSCommanding.ICommandHandler))]
[ContentType(ContentTypeNames.CSharpContentType)]
[Name(nameof(SplitStringLiteralCommandHandler))]
[Order(After = PredefinedCommandHandlerNames.Completion)]
[Order(After = PredefinedCompletionNames.CompletionCommandHandler)]
internal partial class SplitStringLiteralCommandHandler : VSCommanding.ICommandHandler<ReturnKeyCommandArgs>
{
private readonly ITextUndoHistoryRegistry _undoHistoryRegistry;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册