Ignore folders from search?
Working with typescript is a bit frustrating since Rider will scan all kinds of output `.js` and `.d.ts` files but often will completely miss actual source `.ts` files even when they are immediately next to a related file that it does see.
I thought I would be smart and put my typescript output files under /bin/ but Rider still finds .js files that are under the bin folder. How can I hide typescript output files from Rider?
Please sign in to leave a comment.
The more I do some TypeScript programming the more annoying this gets. Rider cannot find anything in regular TypeScript (.ts not .d.ts) files, but can find all kinds of things in .d.ts and .js files that are output files and that I have under the /bin folder and should be ignored.
It seems as if “Find Anywhere” can only search in .ts files when in Directory mode?
The only searches that find in .ts files are Directory mode and Scope mode with certain not that useful scopes selected.
The “search everywhere” window (not the same as find anywhere) has similar problems but not easy to figure out why it's so inconsistent.
Rider will index
d.ts
for type definations, all Search Everywhere actions will be performed on code files first.Have a check in Settings | Advanced Settings, input “search” in the filter, try to enable the semantic search options to see if it helps.
The best way is find a solution that could reproduce your problem so that we can investigate further.