• 请不要在回答技术问题时复制粘贴 AI 生成的内容
1260475686
V2EX  ›  程序员

请问 Goland 和 IDEA 怎么同时高亮多个不同的变量?

  •  
  •   1260475686 · Feb 1, 2021 · 2065 views
    This topic created in 2081 days ago, the information mentioned may be changed or developed.

    之前用 sourceInsight 习惯同时高亮不同的变量,查看变量的使用情况,请问 Goland 和 IDEA 怎么使用的??

    4 replies  •  2021-02-02 08:35:13 +08:00
    Tsukihime
        1
    Tsukihime  
       Feb 1, 2021   ❤️ 1
    CTRL + SHIFT + F7
    1260475686
        2
    1260475686  
    OP
       Feb 1, 2021
    @zydxn 没反应。。。
    DCCooper
        3
    DCCooper  
       Feb 1, 2021
    idea 上的还真不知道,但是 vim 上有一个叫 vim-interestingwords 的插件,<leader>+k 可以高亮多个关键字。
    Tsukihime
        4
    Tsukihime  
       Feb 2, 2021
    @1260475686 #2 双击选中你的变量,按快捷键,重复这个过程。其实就是在搜索中用正则。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5641 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 03:46 · PVG 11:46 · LAX 20:46 · JFK 23:46
    ♥ Do have faith in what you're doing.