File types issue

I am having a serious nagging issue with intellij idea. JS files are not detected, and stay loading forever. I have to go every time I open the app, and go to file types, and asssign *.js to Javascript, get a warning that it is assigned to type javascript files, do you want to reassign ?" . I click yes, then close all open js files, and reopen them. Only then it would work as expected. Have to do this everytime I switch on the IDE

4 comments
Comment actions Permalink

Please can you share your settings (File > Export settings) and idea.log (https://intellij-support.jetbrains.com/hc/en-us/articles/207241085-Locating-IDE-log-files)?

0
Comment actions Permalink

Please shut down IDEA and then delete JavaScript files.xml and CSS.xml from /home/majed/.IntelliJIdea2018.3/config/filetypes and filetypes.xml  - from /home/majed/.IntelliJIdea2018.3/config/options. I'd also suggest removing /home/majed/.IntelliJIdea2018.3/system folder to restore broken indexes

0
Comment actions Permalink

Thanks, that did the trick.

1

Please sign in to leave a comment.