mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-13 17:23:02 -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
33 lines
1.2 KiB
C#
33 lines
1.2 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.TextDocument
|
|
{
|
|
/// <summary>
|
|
/// Capabilities specific to textDocument/documentSymbol requests
|
|
/// </summary>
|
|
public class DocumentSymbolCapabilities : DynamicRegistrationCapability
|
|
{
|
|
/// <summary>
|
|
/// Specific capabilities for the SymbolKind
|
|
/// </summary>
|
|
public DocumentSymbolKindCapabilities SymbolKind { get; set; }
|
|
}
|
|
|
|
public class DocumentSymbolKindCapabilities
|
|
{
|
|
/// <summary>
|
|
/// 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; }
|
|
}
|
|
} |