Exclude folder from search but not from the project list

后端 未结 4 1634
面向向阳花
面向向阳花 2021-01-30 06:10

I have a few different project with the same core.

All I need is to mark all not current projects as excluded to avoid searching through them (

4条回答
  •  谎友^
    谎友^ (楼主)
    2021-01-30 06:50

    As of version 2016.3 this is found under Settings > Appearance & Behavior > Scopes.

    Or regardless of the version, just go to Settings and type "scopes" into the search box at the top.

    Then just click the + symbol to add the scope, choose the folder you want to exclude, and click Exclude Recursively and apply.

    Then when you search using CTRL+SHIFT+F, under Options > Scope select Custom and choose the scope you just created (thanks commenters).

提交回复
热议问题