美文网首页前端技术
强迫症福音,分享一款 vscode 行尾注释对齐插件

强迫症福音,分享一款 vscode 行尾注释对齐插件

作者: 单炒饭 | 来源:发表于2025-01-07 09:30 被阅读0次
screen.gif

默认和 vscode 标尺线对齐,如果不想设置标尺线则可以在在插件选项中设置对齐位置。

插件地址 https://marketplace.visualstudio.com/items?itemName=sbfkcel-align-tail-comments.align-tail-comments

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.

相关文章

网友评论

    本文标题:强迫症福音,分享一款 vscode 行尾注释对齐插件

    本文链接:https://www.haomeiwen.com/subject/ywodyjtx.html