WebStorm/PhpStorm将文件从任何地方排除在搜索范围之外 [英] WebStorm/PhpStorm exclude file from search everywhere
本文介绍了WebStorm/PhpStorm将文件从任何地方排除在搜索范围之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我到处搜索时,我想从搜索结果中排除JS和js.map文件.(我正在使用TypeScript).我的预期行为是从到处搜索"中省略这些文件.
是的,我可以将文件标记为纯文本,但是对于每个文件而言这很麻烦.
我使用了范围:
我研究了以下链接:
-
When I search everywhere I would like to exclude JS and js.map files from the search results. ( I am using TypeScript ). My expected behaviour is to have these files omitted from Search Everywhere.
Yes, I can mark the files as plain text, but that's cumbersome on a per file basis.
I have used scopes:
I have researched these links:
- PHPStorm exclude files by mask from indexing
- How to exclude file from PhpStorm global search (Ctrl+Shift+F)
What am I missing? Can this be done?
解决方案You can exclude particular directory from your project. Go:
Settings > Directories
after that select desired directory and press "Excluded" button.
这篇关于WebStorm/PhpStorm将文件从任何地方排除在搜索范围之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文