CodeBank Compare is a powerful service that allows users to see changes to their code. Users are alerted to changes to the code using "modified," "new," and "removed" badges within the Table of Contents and within the text of the code. Users can also select an option to view all of the changes in a single view, complete with strikethroughs and highlights showing the specific textual amendments that were made. This article will show you how to view changes to your code with CodeBank Compare.
Important Notes
The CodeBank feature is required in order to access CodeBank Compare.
CodeBank and CodeBank Compare are add-on features. If you are interested in these options, contact your Customer Success Manager (CSM) to get started.
View Recent Code Changes from the Table of Contents
Scroll through the Table of Contents
Locate any modified, new, and removed badges in the Table of Contents
Click the portion of the Table of Contents with the desired badge
Badges will appear next to the portions of code that have changed
Show Recent Code Changes in the Body of Your Code
Click Show Changes
Click a link in the Recent Changes List to be taken to that part of the code
The selected portion of the code will appear with newly added text highlighted yellow and recently removed text indicated by red strikethrough font
Compare Code Versions
Navigate to the portion of the code to be compared using the Search or jump to Box or the Table of Contents
Select Compare Versions (two sheets of paper icon) in the icon tray above the section of code to be compared
Select any two versions of the code from the versions list
Click View Comparison
The selected portion of the code will appear with newly added text highlighted yellow and recently removed text indicated by red strikethrough font
Note:
If there are no differences, no highlights or strikethroughs will be displayed.