Move unused forked code to external directory (#1192)

* 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
This commit is contained in:
Karl Burtram
2021-04-16 15:33:35 -07:00
committed by GitHub
parent dc6555a823
commit ccf95aed77
229 changed files with 10058 additions and 10124 deletions

View File

@@ -0,0 +1,14 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
/// <summary>
/// Capabilities specific to the workspace/didChangeConfiguration notification
/// </summary>
public class DidChangeConfigurationCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,14 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
/// <summary>
/// Capabilities specific to the workspace/didChangeWatchedFiles notificiation
/// </summary>
public class DidChangeWatchedFilesCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,14 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
/// <summary>
/// Capabilities specific to the workspace/executeCommand request
/// </summary>
public class ExecuteCommandCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,37 @@
//
// 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; }
}
}

View File

@@ -0,0 +1,58 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
/// <summary>
/// Workspace specific client capabilities
/// </summary>
public class WorkspaceCapabilities
{
/// <summary>
/// Client support applying batche edits to the workspace by supporting the
/// workspace/applyEdit request
/// </summary>
public bool? ApplyEdit { get; set; }
/// <summary>
/// Whether the client supports workspace/configuration requests
/// </summary>
public bool? Configuration { get; set; }
/// <summary>
/// Capabilities specific to the workspace/didChangeConfiguration notification. Can be
/// <c>null</c>
/// </summary>
public DidChangeConfigurationCapabilities DidChangeConfiguration { get; set; }
/// <summary>
/// Capabilities specific to the workspace/executeCommand request. Can be <c>null</c>
/// </summary>
public ExecuteCommandCapabilities ExecuteCommand { get; set; }
/// <summary>
/// Capabilities specific to the workspace/didChangeWatchedFiles notificiation. Can be
/// <c>null</c>
/// </summary>
public DidChangeWatchedFilesCapabilities DidChangeWatchedFiles { get; set; }
/// <summary>
/// Capabilities specific to the workspace/symbol request. Can be <c>null</c>
/// </summary>
public SymbolCapabilities Symbol { get; set; }
/// <summary>
/// Capabilities specific to WorkspaceEdit requests
/// </summary>
public WorkspaceEditCapabilities WorkspaceEdit { get; set; }
/// <summary>
/// Whether the client supports multiple workspace folders open at a time. If true, the
/// open workspace folders will be provided during initialization via
/// <see cref="InitializeRequest{TInitializationOptions}.WorkspaceFolders"/>
/// </summary>
public bool? WorkspaceFolders { get; set; }
}
}

View File

@@ -0,0 +1,18 @@
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.Workspace
{
/// <summary>
/// Capabilities specific to WorkspaceEdit requests
/// </summary>
public class WorkspaceEditCapabilities
{
/// <summary>
/// Whether the client supports versioned document changes in WorkspaceEdit requests
/// </summary>
public bool? DocumentChanges { get; set; }
}
}