Hello! It’s been a while since my previous post. Today, I’d like to present to you one of our key features — Code-tracking
Since we wanted Annot. to function as a perfect tool for debugging, code discussion, or code review for group projects, we decided to provide a functionality that can remove irrelevant annotations and keep relevant ones as code changes through update.
So here’s how it works:
Once you put ‘annot.io’ right before your Github repository URI like shown in the image below, Annot. fetches your code and opens it in our app, so you can start annotating.
You annotate on line 2, 3, and 4 on Readme.md file like in the image below.
Then, let’s say you make some modifications to your code and push it to Github right after you finished annotating. Because of the modification you made, probably some lines of code were deleted or newly added to your source code.
When you access the code at Annot. again, it will fetch the updated code from Github as you see in the image above. You can see that the annotations you’ve made are still attached to the exact line of code you intended, even if the code has been updated. All annotations you’ve written will always be paired to the current version of the code.
Of course, you may wonder whether you’ll lose annotations you wrote before the code got updated. No need to worry about that! You can visit your old code commit via commit hash (i. e. https://annot.io/github.com/myname/ projectname/blob/23fab13/Readmd.md).
So if you’re using Annot. for annotation, please feel free to code and commit to Github! We’re ready to keep them updated at all times. Enjoy!