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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/codeAction requests
/// </summary>
public class CodeActionCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/codeLens requests
/// </summary>
public class CodeLensCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to the colorProviderw
/// </summary>
public class ColorProviderCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,63 @@
//
// 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 the 'textDocument/completion' request
/// </summary>
public class CompletionCapabilities : DynamicRegistrationCapability
{
/// <summary>
/// Client supports these CompletionItem specific capabilities. Can be <c>null</c>
/// </summary>
public CompletionItemCapabilities CompletionItem { get; set; }
/// <summary>
/// Client supports these CompletionItemKinds as responses to completion requests
/// </summary>
public CompletionItemKindCapabiltities CompletionItemKind { get; set; }
}
public class CompletionItemCapabilities
{
/// <summary>
/// Whether client supports snippet formats as completion results
/// </summary>
/// <remarks>
/// A snippet can define tab stops and placeholders with <c>$1</c>, <c>$2</c> and
/// <c>${3:foo}</c>. <c>$0</c> defines the final tab stop, it defaults to the end of
/// the snippet. Placeholders with equal identifiers are linked, that is typing in one
/// will update others, too.
/// </remarks>
public bool? SnippetSupport { get; set; }
/// <summary>
/// Whether client supports commit characters on a completion item
/// </summary>
public bool? CommitCharactersSpport { get; set; }
/// <summary>
/// Client supports these content formats for the documentation property. The order
/// describes the preferred format of the client. May be <c>null</c>
/// </summary>
public MarkupKind[] DocumentationFormat { get; set; }
}
public class CompletionItemKindCapabiltities
{
/// <summary>
/// Completion item 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 completion item kinds
/// from Text to Reference as defined in the initial version of the protocol.
/// </summary>
public CompletionItemKinds? ValueSet { get; set; }
}
}

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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/definition requests
/// </summary>
public class DefinitionCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/documentHighlight requests
/// </summary>
public class DocumentHighlightCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/documentLink requests
/// </summary>
public class DocumentLinkCapabilities : DynamicRegistrationCapability
{
}
}

View File

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

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.
//w
namespace Microsoft.SqlTools.DataProtocol.Contracts.ClientCapabilities.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/formatting requests
/// </summary>
public class FormattingCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,21 @@
//
// 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/hover requests
/// </summary>
public class HoverCapabilities : DynamicRegistrationCapability
{
/// <summary>
/// Client supports these content formats for the content property. The order describes
/// the preferred format of the client.
/// </summary>
public MarkupKind[] ContentFormat { get; set; }
}
}

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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/implementation requests
/// </summary>
public class ImplementationCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/onTypeFormatting requests
/// </summary>
public class OnTypeFormattingCapabilities : DynamicRegistrationCapability
{
}
}

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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/publishDiagnostics requests
/// </summary>
public class PublishDignosticsCapabilities
{
/// <summary>
/// Whether the client accepts diagnostics with related information
/// </summary>
public bool? RelatedInformation { get; set; }
}
}

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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/rangeFormatting requests
/// </summary>
public class RangeFormattingCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/reference requests
/// </summary>
public class ReferencesCapabilities : 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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/rename requests
/// </summary>
public class RenameCapabilities : DynamicRegistrationCapability
{
}
}

View File

@@ -0,0 +1,29 @@
//
// 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/signatureHelp requests
/// </summary>
public class SignatureHelpCapabilities : DynamicRegistrationCapability
{
/// <summary>
/// Client supports these SignatureInformation specific properties
/// </summary>
public SignatureInformationCapabilities SignatureInformation { get; set; }
}
public class SignatureInformationCapabilities
{
/// <summary>
/// Client supports these content formats for the documentation property. The order
/// describes the preferred format of the client.
/// </summary>
public MarkupKind[] DocumentFormat { get; set; }
}
}

View File

@@ -0,0 +1,23 @@
//
// 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.TextDocument
{
/// <summary>
/// Defines which synchonization capabilities the client supports
/// </summary>
public class SynchronizationCapabilities : DynamicRegistrationCapability
{
/// <summary>
/// Whether the client supports sending "will save" notifications
/// </summary>
public bool? WillSave { get; set; }
/// <summary>
/// Whether the client supports sending "did save" notifications
/// </summary>
public bool? DidSave { get; set; }
}
}

View File

@@ -0,0 +1,103 @@
//
// 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.TextDocument
{
/// <summary>
/// Text document specific client capabilities
/// </summary>
public class TextDocumentCapabilities
{
/// <summary>
/// Capabilities specific to the textDocument/codeAction request. Can be <c>null</c>
/// </summary>
public CodeActionCapabilities CodeAction { get; set; }
/// <summary>
/// Capabilities specific to the colorProvider. Can be <c>null</c>
/// </summary>
public ColorProviderCapabilities ColorProvider { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/completion request. Can be <c>null</c>
/// </summary>
public CompletionCapabilities Completion { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/definition request. Can be <c>null</c>
/// </summary>
public DefinitionCapabilities Definition { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/highlight request. Can be <c>null</c>
/// </summary>
public DocumentHighlightCapabilities DocumentHighlight { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/documentLink request. Can be <c>null</c>
/// </summary>
public DocumentLinkCapabilities DocumentLink { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/documentSymbol request. Can be <c>null</c>
/// </summary>
public DocumentSymbolCapabilities DocumentSymbol { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/formatting request. Can be <c>null</c>
/// </summary>
public FormattingCapabilities Formatting { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/hover request. Can be <c>null</c>
/// </summary>
public HoverCapabilities Hover { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/implementation request. Can be <c>null</c>
/// </summary>
public ImplementationCapabilities Implementation { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/onTypeFormatting request. Can be <c>null</c>
/// </summary>
public OnTypeFormattingCapabilities OnTypeFormatting { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/publishDiagnostics request. Can be <c>null</c>
/// </summary>
public PublishDignosticsCapabilities PublishDiagnostics { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/rangeFormatting request. Can be <c>null</c>
/// </summary>
public RangeFormattingCapabilities RangeFormatting { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/references request. Can be <c>null</c>
/// </summary>
public ReferencesCapabilities References { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/rename request. Can be <c>null</c>
/// </summary>
public RenameCapabilities Rename { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/signatureHelp request. Can be <c>null</c>
/// </summary>
public SignatureHelpCapabilities SignatureHelp { get; set; }
/// <summary>
/// Defines which synchronization capabilities the client supports. Can be <c>null</c>
/// </summary>
public SynchronizationCapabilities Synchronization { get; set; }
/// <summary>
/// Capabilities specific to the textDocument/typeDefinition requests. Can be <c>null</c>
/// </summary>
public TypeDefinitionCapabilities TypeDefinition { get; set; }
}
}

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.TextDocument
{
/// <summary>
/// Capabilities specific to textDocument/typeDefinition requests
/// </summary>
public class TypeDefinitionCapabilities : DynamicRegistrationCapability
{
}
}