I use Eclipse-PDT to work on my PHP projects and find it inconvenient when Eclipse does not recognize my php files that have no extension. Our project contains many cli/bash
If I remember correctly, you might be able to do something like this :
Open with
> Other...
PHP Editor
Next time you'll double-click on that file to open it, it should automatically bge opened using the editor you selected earlier.
But you'll have to do that once for each one of your files, so Eclipse PDT does know for which files which editor it should use...
A workaround suggested by Swooper (in his case for perl) here suggests to create links to the files with extensions and edit the files in Eclipse through those links.
Not ideal and maybe hard if you have a lot of extensionless files, but it will work.