ExternalAnnotations icon indicating copy to clipboard operation
ExternalAnnotations copied to clipboard

Schema for annotations?

Open StevenBonePgh opened this issue 6 years ago • 1 comments

I am building annotations for an internal package. The starting point is to use the process of launching visual studio with a /ReSharper.Internal argument, assure the project is in the root folder of the solution then use the menus ReSharper | Internal | Tools | Annotator | Export Source Annotations to XML to export them. The file looks similar to those in this repository, but Resharper is throwing an exception "BuildIndexForFile" "Tag argument unexpected" with a stacktrace like below:

at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.TagScanner.ParseTag(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.TagScanner.ParseTag(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.XmlPsiScanner.Process(XmlReader reader)
     at JetBrains.ReSharper.Psi.Impl.Reflection2.ExternalAnnotations.AnnotationsIndexBuilder.BuildIndexForFile(XmlReader lexer)

I assumed this GitHub project would have a validator or schema for the annotations to assure they are parsable. I suppose I'd also assume that the internal tool would create parsable files as well. Is there a schema somewhere or a mechanism of determining exactly what the unexpected tag is?

StevenBonePgh avatar Oct 04 '18 11:10 StevenBonePgh

Opened: https://youtrack.jetbrains.com/issue/RSRP-473619

NN--- avatar Feb 24 '19 12:02 NN---