Prerequisites
- A Paradime workspace with a connected git repository.
- The Code IDE open on that repository.
Steps
1
Open File History for a file
File History shows a chronological list of every commit that affected a file, so you can understand how it evolved and spot major changes made by your team.
- Select a file in the Code IDE.
- Click the GitLens icon in the left sidebar.
- Open the File History tab in the GitLens panel to see the list of commits.
- Click a commit to view the detailed changes it introduced.
2
Inspect Line History and blame annotations
Line History shows who changed specific lines and when, through inline annotations next to each line. This helps you understand the context behind a change or find the author for collaboration or debugging.
- Open any file in the Code IDE.
- Click a line of code to see inline annotations with the most recent author and commit date.
- Hover over an annotation to see more detail about that commit.
- For the full history of a line (beyond the most recent commit), click the GitLens icon in the left sidebar, then reselect the line to view its complete change history.
3
Search and compare commits
Search & Compare lets you find commits, changes, or contributions across the whole project, and compare branches or references.
- Click the GitLens icon in the left sidebar.
- Open the Search & Compare tab in the GitLens panel.
- Choose one of the two options:
- Select your search type (Author, Message, or File).
- Enter search terms (for example, an author name like
fabioor a message keyword likefix). - Review the results and click a commit to view its details.
- Select the first reference (branch, tag, or ref) to compare.
- Select the second reference to compare against.
- Review the comparison to see the differences between the two references.
You know GitLens is working when the GitLens panel lists commits for a selected file and inline blame annotations appear next to lines of code. If annotations do not show, confirm the file is tracked in your connected git repository.
Next steps
Resolve merge conflicts
Handle conflicting changes when you merge branches.
Sign your commits
Add SSH-based commit signing for verified commits.
GitLens reference
Full GitLens feature reference in the Code IDE.
Version control in the Code IDE
How version control works across the Code IDE.