Using the Enable Typescript Compiler
option results in a .js
file being generated for every .ts
and .tsx
file by the TypeScript compiler.
https://i.sstatic.net/Yr0lR.jpg
When performing code completion, WebStorm does not recognize that the files were auto-generated, leading to suggestions from both the generated files and the TypeScript files. To address this issue, I have to manually mark each generated .js
file as Plain Text:
https://i.sstatic.net/ElfMg.jpg
Despite this, text searches still yield results from the generated JavaScript files:
https://i.sstatic.net/iq50t.jpg
Is there a straightforward method to exclude the generated files similar to how directories can be excluded (aside from creating a scope that excludes all generated files)?