Xcode change “file inspector” type not working

Hello,


in Xcode, I open a *.txt file included javascript code, I try to change View > Inspectors > Show File inspector and change "Default Plain Text" to "JavaScript Source", the script is not highlighting like a js file ?


Thanks