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
{
/// <summary>
/// Title of the command.
/// </summary>
public string Title { get; set; }
/// <summary>
/// The identifier of the actual command handler, like `vsintellicode.completionItemSelected`.
/// </summary>
public string command { get; set; }
/// <summary>
/// A tooltip for the command, when represented in the UI.
/// </summary>
public string Tooltip { get; set; }
/// <summary>
/// Arguments that the command handler should be invoked with.
/// </summary>