Find in files only shows TS results for some folders
I'm assuming this is a feature rather than a bug - Find in Files seems to only search TS files under circumstances, I suspect this is:
- When searching inside packages/dependencies
- When there exists a TS/JS file pair
I get this is mostly useful, we shouldn't care about what's actually going on inside dependencies, but when things aren't playing ball it'd be useful to actually search through all files, which is what IMO Find in Files should do, if the user wants results restricted they should be applying the restrictions themselves.
Anyone know how to prevent this behaviour?

请先登录再写评论。
In npm packages that include
d.tsfiles in distribution alljsfiles are explicitly excluded from indexing (note the cross sign in the icon), as the IDE usesd.tsfiles for completion/types resolving... That's the reason for not including them in search index.Enabling
find.search.in.excluded.dirsRegistry key (Help | Find action, typeregistry...to locate it) should enable searching in explicitly excluded files