Community
Participate
Working Groups
Build Identifier: TM 3.3.1.R33x_v201109141647, PDT 3.0.2.v2011102768, Eclipse 3.7.1.r37x_v20110729 PHP files on a Linux host over SSH are opening in the system editor (Dreamweaver in my case) instead of the PHP editor. This seems to only happen for files that are not already in my RemoteSystemsTempFiles. If I go right click the file and go to open with, it has PHP Editor checked by default, but double-clicking the file still opens it in the system editor unless I actually click on PHP Editor. Also, the files already in my RemoteSystemsTempFiles (since I'm using a workspace I made in 3.6) have a normal PHP file icon, whereas the files not in RemoteSystemsTempFiles and opening in the system editor have an extra "101" overlayed on the icon that I'm guessing means it thinks it's binary instead of text. The files are all encoded as UTF-8. Files in the project explorer from the local file system open up correctly. I didn't have this problem in Eclipse 3.6/PDT 2.2/TM 3.2. Reproducible: Always Steps to Reproduce: 1. Open a PHP file on a remote host (only tried Linux/SSH) encoded as UTF-8 that's not in the RemoteSystemsTempFiles cache.
Created attachment 206878 [details] patch to use name to get editor descriptor when no cached file
Jonathan, could you see if the attached patch resolves your scenario?
Created attachment 206966 [details] updated patch
I've committed the patch to the HEAD stream. If you still run into problems after getting the fix, feel free to reopen this one. Also let me know if this needs to be backported.
Thanks! I installed 3.4.0.N20111116 and now it's working properly. The problem started when I tried to upgrade to Eclipse 3.7/TM 3.3 so it might be worth backporting to 3.3 for anyone else who has the problem.