The ultimate way of sharing code

There are hundreds of tools that help teams to collaborate efficiently. They allow you to send messages, work on documents together, share links to all kinds of things in an instant. But what about sharing code? When you work on something in your IDE and want a colleague to see a peculiar method you’ve stumbled upon, what do you do? Copy-paste and send? That probably makes no sense without the context. Send class name, method name and revision number to a teammate so she or he could look it up? Why is it so complicated? We thought, sharing code should be as easy as sharing links to the latest memes through a messenger.

Everything in Upsource is a link: a code review, a revision, a diff, a line of code, even code selection, and at any point you need to show something to your colleague, you can just send a link to it.

It gets even better! Let’s get back to you working in your IDE and noticing something you’d like a colleague to see. If you have Upsource plugin installed, you can simply select that piece of code, and get a link to it. Without leaving your IDE. Right there, right then.

Get Link to Code Selection From IDE

Send this link to a colleague through any messenger and they’ll be able to see exactly this code selection in this particular revision in their browser and leave comments that you’ll be able to read without leaving your IDE.

Selected Code In Upsource

Sharing pieces of code with each other has never been easier.

Comments below can no longer be edited.

7 Responses to The ultimate way of sharing code

  1. Avatar

    Brian says:

    January 21, 2016

    Is this a feature that is available in Webstorm already, or is it something that is planned for Webstorm? Would these links be something you could put in YouTrack?

    • Avatar

      Maria Khalusova says:

      January 21, 2016

      You can use it in any IntelliJ-based IDE including WebStorm, if you have Upsource installed for code review.

  2. Avatar

    Timur says:

    November 21, 2016


    I tried to download\install plugin, checkout the feature branch (there is a review on the branch), then add project from existing sources in IDEA, enable upsource with link to host, get the code link exactly like it explained here and the link has been broken, because it has looked like
    https://// , but revId was from master, not feature branch where there was not such file yet.

    Then I figured that if I navigate in file in review and use View File button then I have the same menu with “Get Link to Selection” but why I cannot see it in review? What if I want link to specific line in review (“/review” link), not in file (“/file” link)?
    How that can be achieved?


    • Avatar

      Artem says:

      November 23, 2016

      Hi Timur,

      Could you please describe the exact steps you performed after enabling Upsource plugin? Is it smth like the following?

      – Open a file in IDEA
      – Highlighted a code section
      – Right clicked on the selection and went to Upsource->Get Link to selection

      Also please tell me what Upsource/IDEA/plugin versions are you using.

      Thank you in advance.

  3. Avatar

    Timur says:

    November 21, 2016

    Addition to the message up there

    Your blog just removed link template from previous message =(

    It was _https_/_upsourceHost_/_revId_/_filePathAndEtc_

  4. Avatar

    Mihail says:

    January 3, 2017

    Does anyone know how to link Upsource to Webstorm? I have just recently installed Upsource.

Discover more