在 Flutter 项目上查找类或文件时,如何从 IntelliJ-idea 的搜索结果中排除应用程序依赖项?

问题描述 投票:0回答:1

我正在使用

IntelliJ IDEA 2024.2.3 (Community Edition)
,我只想搜索我的项目文件而不是其依赖项类。

例如,当我搜索“build”的文件或类时,我会看到所有 ios/.symlinks/*

搜索文件显示很多不属于我的类

Example searching files

搜索课程,它显示很多不是我的课程

Example searching classes

flutter intellij-idea
1个回答
0
投票

排除文件夹

  1. 显示隐藏文件,使用

    cmd+shift+a
    Show hidden files
    搜索: enter image description here

  2. 搜索文件夹,单击它,然后

    cmd+shift+a
    并输入
    Excluded
    UI

使用
*.g.dart

排除所有文件

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.