简体   繁体   中英

PHP Eclipse cannot open local PHP file!

I click on file, select to open it with Eclipse, Eclipse opens but the file is not showing. Just empty Eclipse. Manual opening via 'File->Open file' works. Also when I want to open remote file via Filezilla (files are on a remote ftp server), Eclipse opens as well but the file is not loaded. I use Eclipse PHP, Helios Release, Build id: 20100617-1415.

I also tried to install Zend, but it did not solve the issue.

Could anyone help me?

You cannot open file with eclipse by using "Open with" in windows file context menu. You must open eclipse first then drag your file or use open file function in eclipse. The reason I think is eclipse is not resolve the command line option for opening a file.

Starting with Helios, you can, but it requires some hacking. See this article for more details.

BTW, some Eclipse distributions already have this feature. From my experience, Zend Studio (latest beta) supports this.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM