CodeStream 5.0 Makes it Easy to Attach a Single Codemark to Multiple Code Ranges

Claudio PinkusClaudio Pinkus
October 16, 2019

Many discussions about code involve more than just one block of code, and concepts are often best presented when you can refer to multiple code locations at once. CodeStream’s latest release introduces multi-range codemarks that address exactly those scenarios.

Here are a few examples of multi-range codemark at work:

  • A change to a function is being contemplated that will impact its name. Each instance of the function call can now be referenced in one discussion. 
  • A react component and its CSS styling aren’t interacting well, and you want to ask the team for input. You might select the div and the CSS rules you think should apply, so your teammates know exactly what you’re talking about.
  • Clients which make API calls to the server might get an unexpected result. Select the code where you’re making the API call, and the handler in the API server, to connect the two actions together.

To create a multi-range codemark:

  • Select the first block of code (range) you want to include in the discussion, and then “Add Comment” (Ctrl-/ c)
  • Click “+ add range”
  • Select another reference range in the same file or another file (even across repos), and click OK
  • Repeat step #3 for as many ranges as you want to include
  • Click “Submit”

Your comment will show up next to any of the ranges you selected in step 3, and you can easily jump to any of the other code locations.


Discuss

Please share your thoughts and feedback @teamcodestream.

About CodeStream

CodeStream helps development teams discuss, review and understand code. CodeStream links comments and issues directly to the code blocks they refer to, making them instantly available to everyone on the team.  

Thank you for your interest in CodeStream.

We'll be in touch shortly.
Oops! Something went wrong while submitting the form.
Recent Blog Posts

Try it for free.
Pay if you love it.

Your team knows a lot about your code but the knowledge is locked inside the heads of individual developers.

CodeStream helps to capture and share that knowledge, making your team happier, more productive and more resilient.


Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Thank you for your interest in CodeStream.

We'll be in touch shortly.
Oops! Something went wrong while submitting the form.