2

I remember i could remotely open files that are on my server via Notepad++. Can I do that with Eclipse so that I can edit files on my computer and when I save it saves on that file directly on the server.

I am using Windows 7 and my server is CentOS (I think).

TylerH
  • 20,799
  • 66
  • 75
  • 101
Gavrisimo
  • 1,827
  • 5
  • 25
  • 33

2 Answers2

4

The Remote Systems Explorer lets you do this. Open "Help > Install new software...", select the "Galileo Update Site", find the Remote Systems Explorer and install it.

Once you've got it installed, open the "Remote Systems" view and add a connection to your favourite server. I use it all the time; works like a charm.

Wayne Beaton
  • 306
  • 1
  • 3
  • Both answers helped but i will mark this one as accepted answer because of "open the "Remote Systems" view" :D I tryed everything but this... Now i opened that i managed to get it to work as you can see in link below... :) http://www.arvag.net/ – Gavrisimo Sep 14 '09 at 17:46
  • The best thing is that when you re-open eclipse, it takes you right to the directory that you were working in when you last closed. For UTF-8, right click on any file or folder and select properties. In the info tab, change file encoding to "UTF-8". It gets applied to all files and folders for that connection. – Zero Mar 06 '11 at 12:58
1

Eclipse normally needs files to be in a project, but if you are able to map the network drive, you can add the remote folder into a project as a linked resource, then it can be modified as if it is on the local machine (except for additional latency).

To maintain portability, you can specify a path variable for the remote file system and define a relative path from that variable. See this answer for details of setting up linked resources.

If mapping the drive is not an option, there is the Remote System Explorer architecture. I've not used it myself so I can't say how well it works, but this blog describes how to use RSE to browse remote files.

Community
  • 1
  • 1
Rich Seller
  • 83,208
  • 23
  • 172
  • 177