logic: minor vs plugin fix
fixed some minor plugin issues
This commit is contained in:
@@ -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.
|
||||
|
||||
Binary file not shown.
@@ -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
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -181,7 +181,6 @@ namespace CoatiSoftware.CoatiPlugin.Wizard
|
||||
{
|
||||
// parallel with tasks
|
||||
Multitasking.LimitedThreadsTaskScheduler scheduler = new Multitasking.LimitedThreadsTaskScheduler(_threadCount);
|
||||
|
||||
TaskFactory factory = new TaskFactory(scheduler);
|
||||
|
||||
List<Task> tasks = new List<Task>();
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011" xmlns:d="http://schemas.microsoft.com/developer/vsx-schema-design/2011">
|
||||
<Metadata>
|
||||
<Identity Id="acf15780-03b5-440e-a41e-db79b7043fc2" Version="0.9.0" Language="en-US" Publisher="Coati Software OG" />
|
||||
<Identity Id="acf15780-03b5-440e-a41e-db79b7043fc2" Version="0.9.1" Language="en-US" Publisher="Coati Software OG" />
|
||||
<DisplayName>CoatiPlugin</DisplayName>
|
||||
<Description xml:space="preserve">This package allows Coati to communicate with Visual Studio and vice versa.</Description>
|
||||
<MoreInfo>http://www.coati.io/</MoreInfo>
|
||||
|
||||
Reference in New Issue
Block a user