C
C#17mo ago
Penthus

❔ Visual Studio XML Comment Formatting

Hi all, I have changed every setting I can think of but am unable to change this unwanted formatting. I am wanting comments to remain on the same line but they are autowrapping once <!-- is typed and also when Format Document/Selection is used. I am also using Resharper. Any help would be appreciated.
6 Replies
Penthus
PenthusOP17mo ago
Resharper settings
Buddy
Buddy17mo ago
Just write the comment above <Name></Name>
Penthus
PenthusOP17mo ago
Unfortunately the structure of the XML files I am working on has them Inline and does not wish to change that formatting rule. It's a rather time consuming issue having to go through and manually change all the comments back to be online. Is there some way to do it through some form of automation after the formatting is done?
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Penthus
PenthusOP16mo ago
Not solved.
Accord
Accord16mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.

Did you find this page helpful?