Simple VSIX extension that adds a command to collapse comments in the open code file.
Should work with all file types that have the concept of comments. Configurable (via Tools > Options):
A version of this extension that works with Visual Studio 2022 is also available. |