diff --git a/bin/test/data/log/test_log.txt b/bin/test/data/log/test_log.txt index e1103410..079df710 100644 --- a/bin/test/data/log/test_log.txt +++ b/bin/test/data/log/test_log.txt @@ -1,3 +1,4 @@ +Settings.cpp WARNING: File for Settings not found: data/TestSettings.xml Token.cpp ERROR: Location Id was not referenced by this Token. Node.cpp WARNING: Cannot change NodeType after it was already set from namespace to class Edge.cpp ERROR: Nodes are not plain copies. diff --git a/ide_plugins/vs/coati_plugin_vs.vsix b/ide_plugins/vs/coati_plugin_vs.vsix index 77dfe345..d4cc6622 100644 Binary files a/ide_plugins/vs/coati_plugin_vs.vsix and b/ide_plugins/vs/coati_plugin_vs.vsix differ diff --git a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/SolutionParser/CompilationDatabase.cs b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/SolutionParser/CompilationDatabase.cs index cffd5606..46371206 100644 --- a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/SolutionParser/CompilationDatabase.cs +++ b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/SolutionParser/CompilationDatabase.cs @@ -64,10 +64,12 @@ namespace CoatiSoftware.CoatiPlugin.SolutionParser public void AddOrUpdateCommandObject(CommandObject commandObject) { - if (TryUpdateCommandObject(commandObject) == false) - { - _commandObjects.Add(commandObject); - } + _commandObjects.Add(commandObject); // updating is not efficient as it is + + //if (TryUpdateCommandObject(commandObject) == false) + //{ + // _commandObjects.Add(commandObject); + //} } // remove commandObjects for removed files diff --git a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/ProjectSetupWindow.cs b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/ProjectSetupWindow.cs index 7df4dccc..6ec1ec18 100644 --- a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/ProjectSetupWindow.cs +++ b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/ProjectSetupWindow.cs @@ -110,10 +110,11 @@ namespace CoatiSoftware.CoatiPlugin.Wizard private void InitProjectCheckList() { - if(_cdb != null) - { - _cdb.TryLoadData(); - } + // way to slow for large projects + //if(_cdb != null) + //{ + // _cdb.TryLoadData(); + //} foreach(Utility.SolutionUtility.SolutionStructure.Node node in _projectStructure.Nodes) { diff --git a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/WindowCreateCDB.cs b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/WindowCreateCDB.cs index bb602037..e136bcfc 100644 --- a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/WindowCreateCDB.cs +++ b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/Wizard/WindowCreateCDB.cs @@ -181,7 +181,6 @@ namespace CoatiSoftware.CoatiPlugin.Wizard { // parallel with tasks Multitasking.LimitedThreadsTaskScheduler scheduler = new Multitasking.LimitedThreadsTaskScheduler(_threadCount); - TaskFactory factory = new TaskFactory(scheduler); List tasks = new List(); @@ -219,9 +218,9 @@ namespace CoatiSoftware.CoatiPlugin.Wizard int threadCount = System.Diagnostics.Process.GetCurrentProcess().Threads.Count; - Logging.Logging.LogInfo("thread count: " + threadCount.ToString()); - Task.WaitAll(tasks.ToArray()); + + backgroundWorker1.ReportProgress(100, "Writing data to file. This might take several minutes..."); } catch(Exception e) { diff --git a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/source.extension.vsixmanifest b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/source.extension.vsixmanifest index ccea8bb1..654d42fd 100644 --- a/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/source.extension.vsixmanifest +++ b/ide_plugins/vs/vs2015/CoatiPlugin/CoatiPlugin/source.extension.vsixmanifest @@ -1,7 +1,7 @@  - + CoatiPlugin This package allows Coati to communicate with Visual Studio and vice versa. http://www.coati.io/