Hello and happy new year;
I have a weird issue related to a JS file that I created in my project.
I am working with PhpStorm and Symfony. When I create a JS file into the js folder, no matter what, if I name it "main.js" it will undoubtedly turn this file into a text file. Even though I choose to create a JavaScript file.
If I put any other name it will work fine. To correct the problem I could easily change the name and that is it but this is a joint project and I cannot change it.
I was looking in PhpStorm settings but couldn't find any solution to it. Maybe I thought that here people would have encountered that kind of problem.
Here is the crime scene: