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
- Host: GitHub
- URL: https://github.com/lixfeld/vs-aligncomments-extension
- Owner: Lixfeld
- License: mit
- Created: 2021-09-04T16:04:18.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2025-01-19T11:56:56.000Z (over 1 year ago)
- Last Synced: 2025-05-30T08:16:28.244Z (about 1 year ago)
- Topics: alignment, comments, vsix
- Language: C#
- Homepage:
- Size: 110 KB
- Stars: 6
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: ReadME.md
- License: LICENSE.txt
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