icsharpcode / ILSpy

.NET Decompiler with support for PDB generation, ReadyToRun, Metadata (&more) - cross-platform!
21.27k stars 3.34k forks source link

Toggle folding should also toggle xml doc comments #749

Open migig opened 8 years ago

migig commented 8 years ago

"Toggle Folding" doesn't currently fold xml doc comments such as

/// <summary>
/// Hello
/// </summary>
/// ....etc.
public string Foo { get; }
siegfriedpammer commented 6 years ago

The Toggle Folding command toggles the folding that the caret currently is in. If you place the caret inside the xml documentation comment, it works as expected. Not sure if there's any benefit in adding this extra behavior...