用于添加/删除 HTML 或 JavaScript 注释的 Textmate 快捷方式

发布于 2024-09-27 00:33:23 字数 56 浏览 1 评论 0原文

Textmate 中是否有用于在 HTML/JavaScript 中快速添加/删除注释的快捷方式?

Is there a shortcut in Textmate for quickly adding/removing comments in HTML/JavaScript?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

柠檬 2024-10-04 00:33:23

在 TextMate 版本中1.5.10 Alt-Command-/ 无法切换评论状态(添加、删除)
它严格地补充道。 (至少根据我的经验)

为了更准确地回答问题,如果您选择要添加或删除评论的文本块 - 单击命令+/将切换状态。 (添加,删除)


需要注意的一件事:这也会缩进您的文本。有人知道如何在使用这些特定键时消除这种行为吗? (命令+/

In TextMate ver. 1.5.10 Alt-Command-/ does not toggle comment state (add, remove)
It strictly adds. (at least from my experience)

To answer the question more accurately, if you select the text block you wish to add or remove comment - clicking command+/ will toggle state. (add, remove)


One thing to note : this also indents your text.. Anyone know how to eliminate this behavior when using those particular keys? (command+/)

慢慢从新开始 2024-10-04 00:33:23

选择要注释或取消注释的块,然后“Cmd-Shift-/”……

Antoine

Select the block you want to comment or decomment and then 'Cmd-Shift-/' …

Antoine

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文