如何设置宏在Netbeans中自动运行?

时间:2017-02-13 06:18:50

标签: netbeans macros

我有跟随宏来选择插入符号下的整个单词

select-word caret-begin-word selection-end-word

这里我坐下来按下ctrl + d时触发。 它有效。

有没有办法自动触发宏? 我的意思是,我希望在插入符号时完全选择该单词,而无需按ctrl + d。

1 个答案:

答案 0 :(得分:0)

选择单词而不按ctrl + d

  • 使用鼠标拖动选择文本区域。
  • 使用ctrl + shift + right将选择范围扩展到右侧
  • 使用ctrl + shift + left将选择范围扩展到左侧