WebStorm: how to disable editing generated JavaScript files

In our TypeScript project, I often look at the generated JavaScript file (* .js), which is very similar to the TypeScript file (* .ts), and try to edit them, only to find that when the TypeScript file overflows, my changes are discarded. Is there a way to configure WebStorm to warn me before I try to edit the * .js file in my src directory?

Here is a similar question for Visual Studio (not currently answered).

+3


source to share


1 answer


Maybe you should hide them. Check here .



0


source







All Articles