在Eclipse以SSH匯入遠端專案(使用Remote System Explorer)

  1. 在Eclipse中安裝以下兩個Plug-in後重新啟動Eclipse:
    [su_quote]Remote System Explorer End-User Runtime
    Remote System Explorer User Actions[/su_quote]

    (安裝方法:
     Help -> Install New Software…
      -> Add… 「Photonhttp://download.eclipse.org/releases/photon/ (Photon版本)」
      -> type filter text 「Remote System Explorer」)

  2. 右上角的Open Perspective -> 選擇 Remote System Explorer

  3. 開啟Remote Systems Tab後上方工具列有一個Define a connection to remote system按鈕
     -> SSH Only

  4. Remote Systems Tab中在剛剛新增的SSH連線 -> Sftp Files -> My Home/Root
     -> 選取欲匯入的專案 -> Create Remote Project

注意:雖可在遠端上編輯、Build專案,但Run和Debug還是在本機環境上執行

Last Updated on 2023/08/16 by A1go

Bitnami