.Net Parser Comments

Hi

I'm using the .Net Parser to perform an English review process on RESX files. So the generated files are still source files.

The resulting RESX files generated (making sure the "write only changed" option is unticked) and stored back in source control and used for product builds.

The original RESX files have lots of really useful comments that the parser handles very nicely.

However, the generated target RESX files lose the comments.

Meaning: 

1) When I do a DIFF of the original file versus the Passolo generated file, I get tons of hits due to comments missing on the target files.

2) I cannot simply commit the Passolo generated files into source control. I'll lose those helpful comments for next time.

My question is, is there a way to keep the comments. An option in the .Net Parser Settings dialog to "Keep source file comments" would be nice to have :-)

 

Thanks

Mark

Parents
  • Hi Mark,

    I know that writing comments (in the source) into the target RESX is not possible in Passolo. A simple workaround would be to use a tool such as Beyond Compare and merge the comments back in. It's quite straightforward and fast to do so (10 seconds a file?), but if you have hundreds of RESX files, that might become more time-consuming that you would like.

    You can always provide your feedback in Ideas place, but I am not sure how you would justify such needs. It is nice to have indeed.

    Thanks,
    Naoko
Reply
  • Hi Mark,

    I know that writing comments (in the source) into the target RESX is not possible in Passolo. A simple workaround would be to use a tool such as Beyond Compare and merge the comments back in. It's quite straightforward and fast to do so (10 seconds a file?), but if you have hundreds of RESX files, that might become more time-consuming that you would like.

    You can always provide your feedback in Ideas place, but I am not sure how you would justify such needs. It is nice to have indeed.

    Thanks,
    Naoko
Children
  • Hi Naoko,
    Thanks for replying.

    It's a strange omission in my opinion, given that they are XML files.But I guess that, because the same parser is used for binary assemblies too, RESX files aren't treated as XML?

    To give me the file I need after after generation I might have to consider using an XML parser instead. I've just done a quick "round-trip" test and compared the generated file with the original and they are the same (apart from the parts I "translated").
    Thanks,
    Mark