Prevent resharper changing comment alignment
I'm working with IL and use comments like:
emit.LoadArgument(DICTIONARY); //stack: [dict]
emit.LoadConstant(argument.Name); //stack: [dict] [arg name]
emit.LoadLocalAddress(value); //stack: [dict] [arg name] [ref value]
However if i format my document the comments are shifted into:
emit.LoadArgument(DICTIONARY); //stack: [dict]
emit.LoadConstant(argument.Name); //stack: [dict] [arg name]
emit.LoadLocalAddress(value); //stack: [dict] [arg name] [ref value]
Is there any way to disable this? I sure couldn't find anything relevant in options.
Honestly resharper should probably never attempt to align code comments, XML doc comments? sure. But any developer will have far greater understanding of why they placed a comment in the exact location they did and that it was likely 100% intentfully purposed.
Please sign in to leave a comment.
Hello Chris,
Feel free to follow and vote for https://youtrack.jetbrains.com/issue/RSRP-429048 ticket about the same things.
Thanks!
Hi,
Will there be a fix to this anytime soon?
Thanks,
Roman
This is a pretty important thing
+1