/// <summary> /// Update these settings from another settings object /// </summary> public void Update( CodeFoldingSettings settings, ILogger logger) { if (settings != null) { if (this.Enable != settings.Enable) { this.Enable = settings.Enable; logger.Write(LogLevel.Verbose, string.Format("Using Code Folding Enabled - {0}", this.Enable)); } if (this.ShowLastLine != settings.ShowLastLine) { this.ShowLastLine = settings.ShowLastLine; logger.Write(LogLevel.Verbose, string.Format("Using Code Folding ShowLastLine - {0}", this.ShowLastLine)); } } }
public LanguageServerSettings() { this.ScriptAnalysis = new ScriptAnalysisSettings(); this.CodeFormatting = new CodeFormattingSettings(); this.CodeFolding = new CodeFoldingSettings(); }