//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using Microsoft.SqlTools.DataProtocol.Contracts.Common;
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
///
/// Capabilities specific to the workspace/symbol request
///
public class SymbolCapabilities : DynamicRegistrationCapability
{
///
/// Specific capabilities for the SymbolKind in a workspace/symbol request. Can be
/// null
///
public SymbolKindCapabilities SymbolKind { get; set; }
}
///
/// Specific capabilities for the SymbolKind in a workspace/symbol request
///
public class SymbolKindCapabilities
{
///
/// The symbol kind values the client supports. When this property exists, the client also
/// guarantees that it will handle values outside its set gracefully and falls back to a
/// default value when unknown.
///
/// If this property is not present the client only supports the symbol kinds from File to
/// Array as defined in the initial version of the protocol.
///
public SymbolKinds? ValueSet { get; set; }
}
}