在 Mac 上的 Aptana Studio 3 中使用 /* ... */ 注释多行的快捷方式是什么?

发布于 2024-11-16 04:24:41 字数 417 浏览 3 评论 0原文

以下是注释代码的几个快捷方式,在 Windows 上效果很好。

  • Ctrl-/ 添加或删除 // 对于单行代码或多个选定的行
  • Ctrl-/ 添加/删除 // 对于单行代码或多个选定的行
  • Ctrl-shift-/ 添加/ * */ 围绕选定的代码

Ctrl-/ 的 Mac 替代方案是 Command-/

对于 Mac,Ctrl-shift-/ 的 Mac 替代方案是什么?

相关问题:在 Aptana Studio 3.0 中查找注释代码的快捷方式

Here are the few shortcuts to comment code, which works great on Windows.

  • Ctrl-/ to add or remove // for a single line of code, or for multiple selected lines
  • Ctrl-/ to add/remove // for a single line of code, or for multiple selected lines
  • Ctrl-shift-/ to add /* */ around selected code

The Mac alternative of the Ctrl-/ is Command-/

What is the Mac alternative of the Ctrl-shift-/ for Mac?

Related Question: Finding Shortcuts in Aptana Studio 3.0 to Comment Code

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

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

发布评论

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

评论(5

⊕婉儿 2024-11-23 04:24:41

检查命令>来源>>评论。那里列出了许多快捷方式。

Check Commands > Source > Comments. A number of shortcuts are listed there.

﹂绝世的画 2024-11-23 04:24:41

在 Mac 上,您搜索 ⌘ Cmd+Shift+C
该快捷方式使用 // 生成多行注释。

On Mac, you search for ⌘ Cmd+Shift+C.
The shortcut generates multi line comments with //.

孤檠 2024-11-23 04:24:41

// 对于单行代码(L 代表行)

Alt + C + L

/* */ 围绕所选代码(B 代表块)

Alt + C + B

// for a single line of code(L for Line)

Alt + C + L

/* */ around selected code(B for Block)

Alt + C + B
⊕婉儿 2024-11-23 04:24:41

Mac 上 VScode 多行注释 /* */

shift + option + a

Mac 上 VScode 单行注释 //

command + /

VScode multiple line comments on Mac /* */

shift + option + a

VScode single line comment on Mac //

command + /
幽梦紫曦~ 2024-11-23 04:24:41
  1. 选择要评论的代码。
  2. Ctrl+K
  3. Ctrl+C
  1. Select the Code to Comment.
  2. Press Ctrl+K.
  3. Press Ctrl+C.
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文