Stripe and Errors

Hi,

my DaemonStage return ErrorStripeRequest.STRIPE_AND_ERRORS in its
NeedsErrorStripe method. For each error a stripe with tooltip is
displayed, but on top of the errorbar there is no error indicator, and
the errors are not collected into the global error analysis. What do I
have to do?

Regards,
Stefan Lieser

]]>

using System;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon;
using JetBrains.Util;

namespace NHibernatePlugin.Analysis.MappingFile
{

public class XmlAnalysisDaemonStage : IDaemonStage
{
public IDaemonStageProcess CreateProcess(IDaemonProcess process) {
if (process == null) {
throw new ArgumentNullException("process");
}
return new XmlAnalysisDaemonStageProcess(process);
}

public ErrorStripeRequest NeedsErrorStripe(IProjectFile
projectFile) {
return
projectFile.Name.EndsWith(Constants.MappingFileExtension) ?
ErrorStripeRequest.STRIPE_AND_ERRORS : ErrorStripeRequest.NONE;
}
}
}

</code>

1 comment
Comment actions Permalink

With build 767 the errors are collected by global solution analysis, but
the error indicator at the top of the right error bar isn't displayed
(only the stripes). Is this a bug?

Regards,
Stefan Lieser
--
http://www.lieser-online.de


Stefan Lieser schrieb:

Hi,

my DaemonStage return ErrorStripeRequest.STRIPE_AND_ERRORS in its
NeedsErrorStripe method. For each error a stripe with tooltip is
displayed, but on top of the errorbar there is no error indicator, and
the errors are not collected into the global error analysis. What do I
have to do?

Regards,
Stefan Lieser

<code>

using System;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Daemon;
using JetBrains.Util;

namespace NHibernatePlugin.Analysis.MappingFile
{

public class XmlAnalysisDaemonStage : IDaemonStage
{
public IDaemonStageProcess CreateProcess(IDaemonProcess process) {
if (process == null) {
throw new ArgumentNullException("process");
}
return new XmlAnalysisDaemonStageProcess(process);
}

public ErrorStripeRequest NeedsErrorStripe(IProjectFile
projectFile) {
return
projectFile.Name.EndsWith(Constants.MappingFileExtension) ?
ErrorStripeRequest.STRIPE_AND_ERRORS : ErrorStripeRequest.NONE;
}
}
}

</code>

0

Please sign in to leave a comment.