//
// 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
{
///
/// Class that is used to serialize and deserialize SQL Tools settings
///
public class SqlToolsSettingsValues : ISqlToolsSettingsValues
{
///
/// Initializes the Sql Tools settings values
///
public SqlToolsSettingsValues(bool createDefaults = true)
{
if (createDefaults)
{
IntelliSense = new IntelliSenseSettings();
// QueryExecutionSettings = new QueryExecutionSettings();
// Format = new FormatterSettings();
}
}
///
/// Gets or sets the detailed IntelliSense settings
///
public IntelliSenseSettings IntelliSense { get; set; }
// ///
// /// Gets or sets the query execution settings
// ///
// [JsonProperty("query")]
// public QueryExecutionSettings QueryExecutionSettings { get; set; }
// ///
// /// Gets or sets the formatter settings
// ///
// [JsonProperty("format")]
// public FormatterSettings Format { get; set; }
///
/// Gets or sets the formatter settings
///
[JsonProperty("objectExplorer")]
public ObjectExplorerSettings ObjectExplorer { get; set; }
}
}