ljzxloaf
V2EX  ›  问与答

Itellij idea 有这种功能吗

  •  
  •   ljzxloaf · Aug 10, 2021 · 2544 views
    This topic created in 1917 days ago, the information mentioned may be changed or developed.

    在某些文件(比如说 application-context.xml ,因为不止一个,不想一个个去查,也不想管其他文件中有没有)中查找某个 symbol

    8 replies  •  2021-08-12 10:39:14 +08:00
    ufan0
    ufan0
    Aug 10, 2021
    1
    全局搜索,macOs 快捷键 shift+command+f
    aragakiyuii
    aragakiyuii
    Aug 10, 2021 via iPhone❤️1
    2
    双击 shift
    luckyrayyy
    luckyrayyy
    Aug 10, 2021
    3
    一楼说的全局搜索可以用正则的方式搜指定的文件名
    sytnishizuiai
    sytnishizuiai
    Aug 11, 2021
    4
    1 楼的快捷键,3 喽的功能,支持强制大小写,正则,搜索目标区域等,并且 shift+command+r 就可以全部替换
    ic2y
    ic2y
    Aug 11, 2021
    5
    Edit -> Find -> Find in Path
    ljzxloaf
    ljzxloaf
    OP
    Aug 11, 2021
    6
    @sytnishizuiai #4 這個命令叫啥,我用的 Ubuntu
    Macolor21
    Macolor21
    Aug 11, 2021 via iPhone
    7
    find in path 正解,查类就 find action 那个菜单
    sytnishizuiai
    sytnishizuiai
    Aug 12, 2021
    8
    @ljzxloaf CTRL+SHIFT+R 在指定路径替换文本
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2285 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 32ms · UTC 13:41 · PVG 21:41 · LAX 05:41 · JFK 08:41
    ♥ Do have faith in what you're doing.