代码之家  ›  专栏  ›  技术社区  ›  stackinator Brenton Wiernik

Atom“Select Next”不仅仅选择变量的唯一出现

  •  0
  • stackinator Brenton Wiernik  · 技术社区  · 7 年前
    is
    this is really cool
    code
    this is really cool
    code
    

    突出显示上面代码中的“is”,然后按 alt-f3 在你的键盘上。只应突出显示唯一出现的“is”。Atom目前也会突出显示“is”在“this”中。我不想要这个。如何禁用此行为?

    enter image description here

    这就是我想要的:

    enter image description here

    1 回复  |  直到 7 年前
        1
  •  0
  •   stackinator Brenton Wiernik    7 年前

    我在强调 is 然后按 Ctrl-D键 . 这不是正确的方法 Select-Next . 你需要先把光标放在你想要的单词前面 选择下一个 ,然后按 Ctrl-D键 . 我希望这对将来的人有帮助。

    奖金提示-如果你执行相同的程序,但是使用 Alt-F3键 您将自动选择正在考虑的单词的所有出现位置。