An open API service indexing awesome lists of open source software.

https://github.com/lixfeld/vs-aligncomments-extension

Visual Studio extension for aligning comments
https://github.com/lixfeld/vs-aligncomments-extension

alignment comments vsix

Last synced: 12 months ago
JSON representation

Visual Studio extension for aligning comments

Awesome Lists containing this project

README

          

# Align Comments

Download from Visual Studio Marketplace ([VS2019][2], [VS2022][3]) or [GitHub][4].

___
Align single-line comments for C, C++, C#, JavaScript and Visual Basic.

![Align.gif][1]

The extension looks for the last index of ``//`` (`'` for Visual Basic) which is farthest to the right. Whitespaces are then added accordingly between the end of the code and the inline comment for all selected lines.

[1]: https://github.com/Lixfeld/VS-AlignComments-Extension/raw/main/Align.gif
[2]: https://marketplace.visualstudio.com/items?itemName=Lixfeld.AlignComments
[3]: https://marketplace.visualstudio.com/items?itemName=Lixfeld.AlignComments2022
[4]: https://github.com/Lixfeld/VS-AlignComments-Extension/releases