JetBrains Rider
 
Get JetBrains Rider
You are viewing the documentation for an earlier version of JetBrains Rider.

Reformat XML Doc comments

Last modified: 30 September 2021

JetBrains Rider can reformat XML documentation comments according to your preferences.

Note that JetBrains Rider does not reformat plain comments like:

or

To reformat XML doc comments, use code cleanup. You can either run code cleanup with the built-in profile Built-in: Full Cleanup or run it with a custom profile solely targeted at your specific task.

If you want to reformat XML doc comments without opening the Reformat and Cleanup Code dialog to choose a profile, you can bind the default Reformat Code profile to the silent cleanup and run it by pressing Ctrl+E, F. You can also create a custom cleanup profile that would combine reformatting XML doc comments with other code style tasks.