paulirwin / JavaToCSharp

Java to C# converter
MIT License
266 stars 90 forks source link

Javadoc comments with multiple lines not converted to XML documentation #97

Open NoSkillPureAndy opened 8 months ago

NoSkillPureAndy commented 8 months ago

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.

NoSkillPureAndy commented 8 months ago

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?