Adding Title/Tooltip for Command class.

This commit is contained in:
Shengyu Fu
2019-08-06 17:18:20 -07:00
parent 9bbc7a20c9
commit c919dba89f

View File

@@ -55,11 +55,21 @@ namespace Microsoft.SqlTools.ServiceLayer.LanguageServices.Contracts
public class Command public class Command
{ {
/// <summary>
/// Title of the command.
/// </summary>
public string Title { get; set; }
/// <summary> /// <summary>
/// The identifier of the actual command handler, like `vsintellicode.completionItemSelected`. /// The identifier of the actual command handler, like `vsintellicode.completionItemSelected`.
/// </summary> /// </summary>
public string command { get; set; } public string command { get; set; }
/// <summary>
/// A tooltip for the command, when represented in the UI.
/// </summary>
public string Tooltip { get; set; }
/// <summary> /// <summary>
/// Arguments that the command handler should be invoked with. /// Arguments that the command handler should be invoked with.
/// </summary> /// </summary>