From c919dba89f08e857c08b59a3e860157ccc408371 Mon Sep 17 00:00:00 2001 From: Shengyu Fu Date: Tue, 6 Aug 2019 17:18:20 -0700 Subject: [PATCH] Adding Title/Tooltip for Command class. --- .../LanguageServices/Contracts/Completion.cs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/Microsoft.SqlTools.ServiceLayer/LanguageServices/Contracts/Completion.cs b/src/Microsoft.SqlTools.ServiceLayer/LanguageServices/Contracts/Completion.cs index 288f4f76..3f491141 100644 --- a/src/Microsoft.SqlTools.ServiceLayer/LanguageServices/Contracts/Completion.cs +++ b/src/Microsoft.SqlTools.ServiceLayer/LanguageServices/Contracts/Completion.cs @@ -55,11 +55,21 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices.Contracts public class Command { + /// + /// Title of the command. + /// + public string Title { get; set; } + /// /// The identifier of the actual command handler, like `vsintellicode.completionItemSelected`. /// public string command { get; set; } + /// + /// A tooltip for the command, when represented in the UI. + /// + public string Tooltip { get; set; } + /// /// Arguments that the command handler should be invoked with. ///