在远程项目/文件上运行 Eclipse EPIC Perl 插件

发布于 2024-12-19 15:07:36 字数 341 浏览 0 评论 0原文

我最近开始了一份新工作,所有开发都是在远程开发服务器上完成的。我真的很喜欢 Eclipse 作为我正在处理的所有不同内容的集中式开发环境,并且不是 emacs 或 vi 的特别粉丝。如果我必须快速更改某些内容,我会使用 emacs,但在真正尝试喜欢它进行正常开发之后,我真的开始怀念 Eclipse。

也就是说,有什么方法可以使用 Eclipse 和 EPIC 在远程服务器上进行 Perl 开发吗?我可以在没有调试功能的情况下生活,但是正确的语法突出显示以及创建项目的能力将非常非常好。到目前为止,我已经尝试使用 Eclipse 的远程浏览器插件来仔细阅读远程开发服务器并以这种方式将内容打开到 Eclipse 中,但它远非理想。有人有更好的想法吗?

I recently started a new job, where all development is done on a remote dev server. I really like Eclipse as a centralized development environment for all the different stuff I'm working on, and am not a particularly big fan of emacs or vi. I'll use emacs if I have to change something quickly, but after really trying to like it for normal development, I'm really starting to miss Eclipse.

That said, is there any way I can use Eclipse with EPIC for Perl development on a remote server? I can live without debugging functionality, but proper syntax highlighting, and the ability to create projects would be really, really nice. So far, I've tried using a remote browser plugin for Eclipse to peruse the remote dev server and open stuff into Eclipse that way, but it is far from ideal. Anyone have any better ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

同展鸳鸯锦 2024-12-26 15:07:36

回答我自己的问题(似乎没有人看过或关心这个问题,但到底是什么——也许有人会遇到同样的问题):

  1. 此处
  2. 设置 RSE 以通过 ssh 连接到远程服务器。
  3. 创建一个新的空 EPIC 项目(或使用您想要的任何插件/语言)。
  4. 右键单击该项目,选择“新建文件夹”,然后
    高级>>链接到备用位置(链接文件夹)
  5. 将文件系统切换到 RSE,然后浏览到远程系统上您想要成为项目的某个文件夹,然后添加它。

就是这样,你就完成了。现在,当您在 Eclipse 中打开项目时,您将看到该文件夹​​,其中包含您想要的所有代码,并且您可以像在本地一样使用它。

我现在看到的主要问题是,目前我无法让它进行任何错误检查,这太糟糕了。我将努力寻找解决方法,并在此处更新(如果有)。

Answering my own question (which no one seems to have looked at or care about, but what the hell-- maybe someone will have the same issue):

  1. Grab Remote Systems Explorer from here.
  2. Setup RSE to ssh into your remote server.
  3. Create a new empty EPIC project (or using whatever plugin/ language you want).
  4. Right click the project, select "New Folder," then
    Advanced >> Link to alternate location (Linked Folder)
  5. Switch file system to RSE, then just browse to some folder on your remote system you'd like to become a project, and add it.

That's it, you're done. Now when you open your project in Eclipse, you'll see that folder with all the code you wanted, and you can use it just like you would locally.

The main problem I'm seeing with this right now is that currently I can't get it to do any error checking, which is too bad. I'll work on finding a work around for that and update here if I do.

满天都是小星星 2024-12-26 15:07:36

如果您使用的是 Linux,您还可以使用 sshfs 挂载远程驱动器/文件夹并使用相同的“链接文件夹技术”。我在 Java EE 开发中一直这样做。 sshfs 也非常可靠,与使用 Samba-Client 在 Linux 上安装 Windows 网络共享不同。 (有时 Windows 共享服务会变得混乱。并且需要在远程服务器上重新启动。我使用 powershell oneliner 来执行“restart-service -name 'sharing service'”或类似的操作。)

If you're on linux, you can also mount the remote drive/folder with sshfs and use the same "linked folder technique". I do this all the time for Java EE development. sshfs is also very reliable, unlike Windows network shares mounted on linux with Samba-Client. (Sometimes the Windows sharing service gets confused. And needs to be restarted on the remote server. I use a powershell one liner for this "restart-service -name 'sharing service' " or something like´that.)

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文