mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-14 09:59:48 -05:00
* Move unused forked code to external directory * Fix SLN build errors * Add back resource provider core since it's referenced by main resource provider project * Update PackageProjects step of pipeline
37 lines
1.4 KiB
C#
37 lines
1.4 KiB
C#
//
|
|
// 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
|
|
{
|
|
/// <summary>
|
|
/// Capabilities specific to the workspace/symbol request
|
|
/// </summary>
|
|
public class SymbolCapabilities : DynamicRegistrationCapability
|
|
{
|
|
/// <summary>
|
|
/// Specific capabilities for the SymbolKind in a workspace/symbol request. Can be
|
|
/// <c>null</c>
|
|
/// </summary>
|
|
public SymbolKindCapabilities SymbolKind { get; set; }
|
|
}
|
|
|
|
/// <summary>
|
|
/// Specific capabilities for the SymbolKind in a workspace/symbol request
|
|
/// </summary>
|
|
public class SymbolKindCapabilities
|
|
{
|
|
/// <summary>
|
|
/// 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.
|
|
/// </summary>
|
|
public SymbolKinds? ValueSet { get; set; }
|
|
}
|
|
} |