maclanelf134
V2EX  ›  JetBrains

IDEA 全局搜索不到静态文件的原因

  •  
  •   maclanelf134 · Oct 22, 2024 · 3577 views
    This topic created in 744 days ago, the information mentioned may be changed or developed.

    IDEA 的全局搜索有的时候搜索不到某些文件,这些文件确定存在于项目中,这是为什么?

    ----v2 好像没法发图片呢,图片链接在这里 https://pic.imgdb.cn/item/6717066fd29ded1a8c8c3e85.png

    4 replies  •  2024-10-22 10:15:25 +08:00
    bigfei
    bigfei
    Oct 22, 2024
    1
    gitignore 看看
    maclanelf134
    maclanelf134
    OP
    Oct 22, 2024
    2
    @bigfei gitignore 确实标记了我项目的静态资源文件夹,但是这会导致我全局搜索搜不到吗?
    wangclack
    wangclack
    Oct 22, 2024❤️1
    3
    Find in Files 搜索的不是文件内容吗?
    你要搜索某个文件直接用 Naviagate 菜单下的 File ,或者双击 Shift 的 Search everywhere
    maclanelf134
    maclanelf134
    OP
    Oct 22, 2024
    4
    @wangclack 对,你说的对,是我愚钝了,全局搜索用惯了!都没往别处想
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2733 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 13:59 · PVG 21:59 · LAX 05:59 · JFK 08:59
    ♥ Do have faith in what you're doing.