JavaToCSharp icon indicating copy to clipboard operation
JavaToCSharp copied to clipboard

Javadoc comments with multiple lines not converted to XML documentation

Open PurelyAndy opened this issue 1 year ago • 1 comments

This code will create a summary comment properly

/** Cool field that contains something. */
public int awesomeField;

This code will not

/**
 * Really cool field that contains something.
 * Keep in mind that this field is cooler than awesomeField.
 */
public int reallyAwesomeField;

This is the case with everything, not just fields.

PurelyAndy avatar Feb 02 '24 04:02 PurelyAndy

Only happens if you're running a Windows machine and trying to convert a file with Unix line endings. Maybe try to detect the line endings of the file rather than using Environment.NewLine?

PurelyAndy avatar Feb 03 '24 04:02 PurelyAndy