Programming
7 Ways GitLens Helps Me Understand Code Faster
Introduction
In this article, I will share 7 scenarios in which GitLens has helped me save a lot of time reading and understanding code.
We will use the rasa repository as the example codebase to illustrate the scenarios.
Scenarios
The scenarios we will cover are:
- Figuring out who wrote a specific line of code
- Figuring out what other changes were made
- Figuring out how a feature works
- Figuring out what has changed since our last commit
- Figuring out what are the changes in a news release
- Figuring out the recent changes in a specific part of a codebase
- Figuring out when a pull request was released
Scenario 1: Who Wrote That Line?
According to rasa’s documentation at the time of writing, the socketio channel supports JWT authentication but the REST channel does not.
Suppose we are interested in implementing JWT authentication for the REST channel. A good first step is to reach out to the person who implemented it for the socketio channel to ask for advice. How…