mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 01:25:40 -05:00
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:
54
external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs
vendored
Normal file
54
external/Microsoft.SqlTools.CoreServices/SqlContext/SqlToolsSettingsValues.cs
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
//
|
||||
// Copyright (c) Microsoft. All rights reserved.
|
||||
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
|
||||
//
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace Microsoft.SqlTools.CoreServices.SqlContext
|
||||
{
|
||||
/// <summary>
|
||||
/// Class that is used to serialize and deserialize SQL Tools settings
|
||||
/// </summary>
|
||||
public class SqlToolsSettingsValues : ISqlToolsSettingsValues
|
||||
{
|
||||
/// <summary>
|
||||
/// Initializes the Sql Tools settings values
|
||||
/// </summary>
|
||||
public SqlToolsSettingsValues(bool createDefaults = true)
|
||||
{
|
||||
if (createDefaults)
|
||||
{
|
||||
IntelliSense = new IntelliSenseSettings();
|
||||
// QueryExecutionSettings = new QueryExecutionSettings();
|
||||
// Format = new FormatterSettings();
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the detailed IntelliSense settings
|
||||
/// </summary>
|
||||
public IntelliSenseSettings IntelliSense { get; set; }
|
||||
|
||||
// /// <summary>
|
||||
// /// Gets or sets the query execution settings
|
||||
// /// </summary>
|
||||
// [JsonProperty("query")]
|
||||
// public QueryExecutionSettings QueryExecutionSettings { get; set; }
|
||||
|
||||
// /// <summary>
|
||||
// /// Gets or sets the formatter settings
|
||||
// /// </summary>
|
||||
// [JsonProperty("format")]
|
||||
// public FormatterSettings Format { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the formatter settings
|
||||
/// </summary>
|
||||
[JsonProperty("objectExplorer")]
|
||||
public ObjectExplorerSettings ObjectExplorer { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user