团体Java开发
也许这是一个奇怪的问题,但是......
我和我的一个朋友曾经在小项目上一起编码。每个人在编码方面都有自己的专业知识。
当在远程位置(通过同一服务器上的 ssh)用 C 进行编码时,这非常有效。
我的问题: 是否有可能与 2 人或更多人一起使用 eclipse 开发 java。相同的时间,相同的项目,相同的文件。
我知道我可以使用 SVN 并经常进行提交和更新。
但是:有没有一种方法可以“实时”在 Eclipse 项目上并行编程?
谢谢,
安德烈
Maybe it's a strange question but...
A friend of mine and I used to code together on small projects. Everyone has their own expertise in coding things.
This works quite well when coding in C on a remote location (over ssh on the same server).
My Question: Is there a possibility of developing java with eclipse with 2 or more people. Same time, same project, same files.
I know I can use SVN and make commit and update very often.
But: Is there a way to program in parallel on eclipse projects in "realtime" ?
Thanks,
Andre
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
代码就是代码,您的代码将由 JVM 或其他东西执行这一事实不会改变您的编码方式。
对于实时编码的部分,这并不是一个好主意,当您处理项目的某些部分时,如果您破坏了编译或其他任何事情,您真的不想弄乱同事/朋友的代码。
另一方面,有多种方法可以与其他人共享同一文件上的代码和实时代码(例如结对编程)。
在 Eclipse 中,该插件名为 DocShare。对于 Netbeans,协作模块 就可以解决问题。对于 IntelliJ,IDETalk 不会真正允许实时共享,但确实会有所帮助。
资源:
Code is code, the fact that your code will be executed by a JVM or something else won't change the way you code.
For the part of realtime coding, it's not really a good idea, when you work on some part of your project, if you break the compilation or anything else you don't really want to mess the code of your coworkers/friends.
On the other hand there are ways to share code and live code with other persons on the same file (for example for pair programming).
In Eclipse the plugin is named DocShare. For Netbeans the Collaboration Module will do the trick. For IntelliJ, IDETalk won't really allow realtime sharing but will really help.
Resources :
Eclipse 有两个插件,分别为 DocShare 和 Saros(可通过 市场),允许实时协作编辑文档(DocShare)或项目(Saros)。
观看 Saros 的演示视频。
Eclipse has two plugins called DocShare and Saros (available via the marketplace) that allow real-time collaborative editing of documents (DocShare) or projects (Saros).
Have a look at the Demo Video from Saros.