Skip to content
| Marketplace
Sign in
Visual Studio Code>Formatters>Align Tail CommentsNew to Visual Studio Code? Get it now.
Align Tail Comments

Align Tail Comments

sbfkcel

|
148 installs
| (1) | Free
Align comments after each line of code to the ruler.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Align Tail Comments

Align comments after each line of code to the ruler.If the line comment is not after the code it is not affected, since this is the start of a block.

screen

USE

  • Install this extension;
  • (ctrl|cmd)+shift+p -> Align Tail Comments;
  • You can add snaplines by configuring settings.json.
    • settings.json -> "editor.rulers": [100]

If you do not want to configure rulers, you can modify the column values ​​in the extended options.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft