WebStorm incorrectly marking source files as excluded when going from TS to JS
问题 I have a React project that is a mix of JavaScript+Flow and TypeScript -- and I am in the process of iteratively refactoring the JS files to TS/TSX. In my workflow I'm sometimes going to-and-fro between Git branches, and in these branches, I may have renamed a specific JS file like App.js to App.tsx and in another unrelated branch, it is still called App.js . I've noticed that when I convert App.js to App.tsx , everything is fine, but when I toggle back to the branch that still has it set as