問(wèn)題描述
在 Eclipse 方面,我是一個(gè)真正的笨蛋,但我也很窮,這就是我選擇它的原因.
I'm a real klutz when it comes to Eclipse, but I'm also poor, which is why it is the option I've chosen.
我已經(jīng)安裝了 Eclipse 3.5、Eclipse for PHP 和 RSE.我實(shí)際上已經(jīng)到了可以創(chuàng)建一個(gè)新的(本地)項(xiàng)目并將所有文件下載到我的本地(Windows)計(jì)算機(jī)的地步.我沒(méi)有在我的本地機(jī)器上運(yùn)行任何類型的網(wǎng)絡(luò)服務(wù)器,我希望暫時(shí)保持這種狀態(tài).
I've installed Eclipse 3.5, Eclipse for PHP, and RSE. I've actually gotten to a point where I can create a new (local) project and download all files to my local (Windows) computer. I'm not running any kind of web server on my local box, and am hoping to keep it that way for now.
我已經(jīng)將我的遠(yuǎn)程文件夾導(dǎo)入到我的本地項(xiàng)目中,在那里我可以看到我的所有 PHP 文件并對(duì)其進(jìn)行編輯.但是當(dāng)然,當(dāng)我保存時(shí),它只是保存本地副本.沒(méi)有放置"命令嗎?我不能直接保存到服務(wù)器嗎?或者立即同步那個(gè)文件?我當(dāng)然不希望在每次小的增量更改之后都必須執(zhí)行復(fù)雜的同步操作.
I've imported my remote folder into my local project, where I can see all my PHP files and edit them. But of course, when I save, it just saves the local copy. Is there no "put" command? Can I not save straight to the server? Or perform an immediate sync of that one file? I certainly wouldn't want to have to perform a complex sync operation after every little incremental change.
我不知道 RSE 到底是什么,也不知道它是如何工作的,而且文檔充其量是隱藏的,最壞的情況是根本不存在.有人對(duì)我有什么建議嗎?我的工作流程應(yīng)該是什么(禁止任何本地服務(wù)器進(jìn)行測(cè)試)?
I have no idea what RSE really is, nor how it works, and the documentation is, well, cloaked at best, non-existent at worst. Does anyone have some tips for me? What should my workflow be (barring any local server to test)?
理想情況下,我希望能夠直接從遠(yuǎn)程服務(wù)器上的位置打開(kāi)整個(gè)項(xiàng)目",并完全避免處理本地"副本.如果做不到這一點(diǎn),我愿意獲取"整個(gè)遠(yuǎn)程站點(diǎn)一次,然后手動(dòng)放置"我在本地更改的單個(gè)文件,前提是這不是一個(gè)繁瑣的過(guò)程.我要求太多了嗎?Dreamweaver 以這種方式運(yùn)行,但它對(duì) PHP 的支持充其量是有限的,不能被視為成熟的 IDE...
Ideally, I would love to be able to open up the entire "project" directly from its location on the remote server and avoid dealing with a "local" copy altogether. Failing that, I would be willing to "get" the entire remote site once, and then manually "put" individual files that I change locally back, provided it's not a cumbersome process. Am I asking too much? Dreamweaver operates this way, but it's support for PHP is limited at best and can't be considered a full-fledged IDE...
推薦答案
我使用 WinSCP 并啟用 遠(yuǎn)程同步.
本地系統(tǒng)上的所有更改都會(huì)通過(guò) SCP/FTP 自動(dòng)同步到服務(wù)器上.
I use WinSCP and enable remote synchronization.
Everything that changes on the local system is automatically synchronized trough SCP/FTP onto the server.
這篇關(guān)于在 Windows 上的遠(yuǎn)程服務(wù)器 (FTP) 上使用 Eclipse 開(kāi)發(fā) PHP的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!