Search code examples
javacssjspintellij-idea

Collaboration with Java IDE


We need to be able to share the viewing and editing of a Java coding project that was started in Intellij.

We need to be able to start by giving someone view-only access to a single file, and eventually allow them to see and edit other pieces.

Intellij does not appear to support this scenario directly, so we tested doing it in these two tools.

The Visual Studio Community Edition IDE says that it supports collaboration on the version comparison page but doesn't appear to support Java vs_community__1095676675.1612398125.exe blob:https://visualstudio.microsoft.com/bfa14bfc-7573-43d5-81a8-eba84694b332

The VSCode IDE supports Java but not collaboration. VSCodeUserSetup-x64-1.54.3.exe https://az764295.vo.msecnd.net/stable/2b9aebd5354a3629c3aba0a5f5df49f43d6689f8/VSCodeUserSetup-x64-1.54.3.exe

Assistance is greatly appreciated.


Solution

  • If you want to share code files, use a source code versioning management tool such as Mercurial or Git. IntelliJ supports several such tools.

    If you want to collaborate live with another programmer within IntelliJ, use the new Code With Me tool.

    Code With Me for IntelliJ

    The JetBrains company has released a new plugin for their IntelliJ IDE: Code With Me.

    Code With Me is a new collaborative development and pair programming service. It enables you to share the currently opened project in your IDE with others, and work on it together in real time.

    This product:

    … enables you to share an open project in your IDE with your distributed team. This allows them to quickly access your code, so they can help you investigate issues, review, and work on your code together with you in real time. And all this can be done while still enjoying the full benefits of the code autocompletion, smart navigation, refactoring, debugging suite, and built-in terminal available in your JetBrains IDE.

    The guest invited to a work session need not even have IntelliJ installed. No IDE is required to connect as a guest, you only need an invitation link. For guests, only a lightweight client application is downloaded.

    Code With Me also provides audio or video calls between participants.

    See the product page, their Getting Started guide, and FAQ. See their blog post explaining the early-access version. The company likely published video demonstrations on their YouTube.com channel. Search to learn more.