CodeStream is now part of New Relic. Joining together to bring observability into your IDE.
Learn More

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

New Relic CodeStream integrates all of your essential dev tools, such as GitHub, GitLab, Bitbucket, Slack, Teams, Jira, Trello and more, into VS Code, Visual Studio, and any JetBrains IDE.

Thank you for your interest in CodeStream.

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

During our daily stand-ups we demo features in development to allow everyone, which now includes you too, to stay in the loop and provide early feedback.

Recent Blog Posts

Two Ways to See for Yourself