提交 c9a01ba0 编写于 作者: K Kevin Pilch-Bisson

Add a PredefinedCommandHandlerName

上级 741f6228
......@@ -18,7 +18,7 @@
namespace Microsoft.CodeAnalysis.Editor.CommandHandlers
{
[ExportCommandHandler("Go to next and previous method command handler", ContentTypeNames.RoslynContentType)]
[ExportCommandHandler(PredefinedCommandHandlerNames.GoToNextAndPreviousMethod, ContentTypeNames.RoslynContentType)]
internal class GoToNextAndPreviousMethodCommandHandler : ICommandHandler<GoToNextMethodCommandArgs>, ICommandHandler<GoToPreviousMethodCommandArgs>
{
private readonly IWaitIndicator _waitIndicator;
......
......@@ -92,6 +92,11 @@ internal static class PredefinedCommandHandlerNames
/// </summary>
public const string GoToImplementation = "Go To Implementation Command Handler";
/// <summary>
/// Command handler name for Go to Next Method and Go to Previous Method.
/// </summary>
public const string GoToNextAndPreviousMethod = "Go to next and previous method command handler";
/// <summary>
/// Command handler name for Indent.
/// </summary>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册