public void Update(LanguageServerSettings settings, string workspaceRootPath) { if (settings != null) { this.EnableProfileLoading = settings.EnableProfileLoading; this.ScriptAnalysis.Update(settings.ScriptAnalysis, workspaceRootPath); } }
public void Update( LanguageServerSettings settings, string workspaceRootPath, ILogger logger) { if (settings != null) { this.EnableProfileLoading = settings.EnableProfileLoading; this.ScriptAnalysis.Update( settings.ScriptAnalysis, workspaceRootPath, logger); this.CodeFormatting = new CodeFormattingSettings(settings.CodeFormatting); } }