File: Features\Options\LanguageServerProjectSystemOptionsStorage.cs
Web Access
Project: src\src\LanguageServer\Protocol\Microsoft.CodeAnalysis.LanguageServer.Protocol.csproj (Microsoft.CodeAnalysis.LanguageServer.Protocol)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
 
using Microsoft.CodeAnalysis.Options;
 
namespace Microsoft.CodeAnalysis.LanguageServer.HostWorkspace
{
    internal static class LanguageServerProjectSystemOptionsStorage
    {
        private static readonly OptionGroup s_optionGroup = new(name: "projects", description: "");
 
        /// <summary>
        /// A folder to log binlogs to when running design-time builds.
        /// </summary>
        public static readonly Option2<string?> BinaryLogPath = new Option2<string?>("dotnet_binary_log_path", defaultValue: null, s_optionGroup);
 
        /// <summary>
        /// Whether or not automatic nuget restore is enabled.
        /// </summary>
        public static readonly Option2<bool> EnableAutomaticRestore = new Option2<bool>("dotnet_enable_automatic_restore", defaultValue: true, s_optionGroup);
    }
}