Skip to content

Lixfeld/VS-AlignComments-Extension

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Align Comments

Download from Visual Studio Marketplace (VS2019, VS2022) or GitHub.


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

Align.gif

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.