Comments (6)
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.
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.
I exclusively need XML comments for ReSharper https://youtrack.jetbrains.com/issue/RSRP-460830
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.
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.
:-)
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.
And as said, it's not really an issue for me anymore 😄
Thanks for your great work.
from resxformatter.
Related Issues (11)
- Not working in Visual Studio 2019 v16.7.2 HOT 7
- Configure a culture invariant sort option HOT 2
- Crash on launch with 1.1.44 and VS 16.9.3 HOT 3
- Resource file will not reload when changed and saved HOT 2
- Status of ResxFormatter for VS2022? HOT 2
- Strip comments from Designer.cs files HOT 6
- Failed to Load the ResxPackage in Visual Studio 2017 HOT 3
- Disable generation of resx files HOT 2
- Case-insensitive Sort HOT 2
- Reorder Alphabetically HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from resxformatter.