Giter VIP home page Giter VIP logo

Comments (6)

stefanegli avatar stefanegli commented on August 29, 2024 1

I was considering to do this in the beginning, but there were two things that lead to the current behavior:

  • It was not quite clear how I should distinguish comments (I guess it can be done, but I did not have an immediate solution).
  • The format does allow for comments as part of the schema e.g.:
<data name="abc" xml:space="preserve">
    <value>1</value>
    <comment>test comment</comment>
</data>

I am not going to be able to do anything here in the next couple of weeks, but I am going to consider to change the behavior unless of course you would be happy enough to use the "comment" notes that the RESX format provides.

from resxformatter.

stefanegli avatar stefanegli commented on August 29, 2024 1

I think I will not implement this for now because of the following reasons:

  • Nobody seems to need this behavior
  • My tests showed that the RESX Editor also removes such comments, which may have been the reason that I did not implement it in the beginning

from resxformatter.

Mertsch avatar Mertsch commented on August 29, 2024

I exclusively need XML comments for ReSharper https://youtrack.jetbrains.com/issue/RSRP-460830
2023-06-24 16-33-47 devenv
2023-06-24 16-35-08 devenv
There is no other reason.
I also use the <comment> feature.

If the cleanup would just leave the comments alone and not add them, I would already be happy 😄

Thank you for your time and effort!

from resxformatter.

Mertsch avatar Mertsch commented on August 29, 2024

Hey Stefan, I have chosen to rethink the R# problem and configured the inspection to not show anymore. This removes the need for XML Comments and I can use your great tool 😄.

You may close the issue if you want to keep the logic as is.

BTW: Support for .editorconfig - sooooo nice!

from resxformatter.

stefanegli avatar stefanegli commented on August 29, 2024

:-)

Thanks for the feedback... Resharper is a good reason to look into this some more. But as mentioned before it will take some time.

from resxformatter.

Mertsch avatar Mertsch commented on August 29, 2024

And as said, it's not really an issue for me anymore 😄

Thanks for your great work.

from resxformatter.

Related Issues (11)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.