linux - Geany - change filetype for individual files -


i have file extension js.php javascript. there's small php @ top. i'd have file viewed javascript, not php , unfortunately geany doesn't seem allow manually change filetype selecting list, editors do. tried adding *.js.php filetype_extensions.conf doesn't work, it's still viewed php. geany , i'm using linux, using text editor not option.

there manual solution : after opening geany , file choose following through menu bar

     document             -> set filetype                           -> scripting languages                                               -> javascript source file       

Comments