public static void Load() { // Deserialize config data _instance = PropertyService.Get <DCompilerService> (GlobalPropertyName); //LoggingService.AddLogger(new MonoDevelop.Core.Logging.FileLogger("A:\\monoDev.log", true)); if (_instance == null || _instance.Compilers.Count == 0) { _instance = new DCompilerService(); CompilerPresets.PresetLoader.LoadPresets(_instance); } // Init global parse cache _instance.UpdateParseCachesAsync(); }
public static void Load() { // Deserialize config data _instance = PropertyService.Get <DCompilerService> (GlobalPropertyName); //LoggingService.AddLogger(new MonoDevelop.Core.Logging.FileLogger("A:\\monoDev.log", true)); if (_instance == null || _instance.Compilers.Count == 0) { _instance = new DCompilerService(); CompilerPresets.PresetLoader.LoadPresets(_instance); LoadDefaultDmd2Paths(_instance.GetCompiler("DMD2")); } Ide.IdeApp.Workbench.RootWindow.Destroyed += (o, ea) => _instance.Save(); // Init global parse cache _instance.UpdateParseCachesAsync(); }
public static void Load() { // Deserialize config data _instance = PropertyService.Get <DCompilerService> (GlobalPropertyName); //LoggingService.AddLogger(new MonoDevelop.Core.Logging.FileLogger("A:\\monoDev.log", true)); if (_instance == null || _instance.Compilers.Count == 0) { _instance = new DCompilerService(); _instance.CompletionOptions = CompletionOptions.Default; CompilerPresets.PresetLoader.LoadPresets(_instance); } // Init global parse cache _instance.UpdateParseCachesAsync(); _instance.Outline.ExpandAll = false; _instance.Outline.GrayOutNonPublic = true; _instance.Outline.ShowFuncParams = true; _instance.Outline.ShowFuncVariables = false; _instance.Outline.ShowTypes = false; }