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.
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.
Sharing pieces of code with each other has never been easier.
Brian says:
January 21, 2016Is 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?
Maria Khalusova says:
January 21, 2016You can use it in any IntelliJ-based IDE including WebStorm, if you have Upsource installed for code review.
Timur says:
November 21, 2016Hi!
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?
Thanks!
Artem says:
November 23, 2016Hi 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.
Timur says:
November 21, 2016Addition to the message up there
Your blog just removed link template from previous message =(
It was _https_/_upsourceHost_/_revId_/_filePathAndEtc_
Mihail says:
January 3, 2017Does anyone know how to link Upsource to Webstorm? I have just recently installed Upsource.
Valerie Andrianova says:
January 17, 2017Hi Mikhail!
You need to install Upsource IDE plugin and specify the link to your Upsource server. Please find more details here:https://www.jetbrains.com/help/upsource/3.5/installing-upsource-plug-in.html