Short Answer: Click View full file under the Code snippet to open a modal that shows file path, branch, and the surrounding lines.
PreRequisites
-
Issue page is open.
-
If the file is private, you must be signed in and have access.
Steps
-
Find the Code snippet section on the issue page and click View full file.
A file modal opens. -
In the modal, confirm the File path (e.g.,
src/api/userController.js) and Branch (e.g.,feature/auth-improvements).
File path and branch appear at the top. -
Scroll within the modal to see lines before and after the highlighted range (e.g., lines 52–53).
Surrounding context and line numbers are visible. -
Click the X (top-right) to close the modal and return to the issue page.
Troubleshooting
- “View full file” doesn’t open.
Likely Cause: Not signed in, the review is private, or a browser issue.
Action: Sign in, refresh the page, or try another browser. If access is restricted, ask the review owner to share the review.
Note: The modal highlights the issue lines and shows line numbers for quick orientation.