Cannot find OverlapResolvePolicy in R#4

Hello,

I'm exploring R# 4.0 and am having trouble with plugin migration. I cannot find the new location of the OverlapResolvePolicy class. Can anyone point me to its new location?

0
1 comment

There is no more 'OverlapResolvePolicy'.
To deal correctly with code highlightings, please use the following
constructs:

For highlightings with non-configurable severity:

[StaticSeverityHighlighting(Severity.WARNING, AttributeId =
HighlightingAttributeIds.DEADCODE_ATTRIBUTE, OverlapResolve =
OverlapResolveKind.DEADCODE)]

class MyHighlighting : IHighlighting

{

}

For highlightings with configurable severity, use the following: Here, the
highlighting presentation (AKA attribute) will be computed at runtime using
givenseverity

[ConfigurableSeverityHighlighting("severityname", ....)]

class MyHighlighting : IHighlighting

{

}

To calculate the attribute at runtime using your own code, implement the
'ICustomAttributeHighlighting' interface instead of the 'IHighlighting'


--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Crenna" <daniel.crenna@gmail.com> wrote in message
news:26444023.3711206998850053.JavaMail.jive@app4.labs.intellij.net...

Hello,

>

I'm exploring R# 4.0 and am having trouble with plugin migration. I cannot
find the new location of the OverlapResolvePolicy class. Can anyone point
me to its new location?



0

Please sign in to leave a comment.