Share specific locations in a Repl via Deeplinking
Key point
Deeplinking has been introduced in Repl, allowing you to share not only files but also specific lines and columns.
Details
Deeplinking lets you share not only a specific file within a Repl, but also a specific line and column within that file.
Whenever a user navigates between files within a project, the URL hash automatically changes. So to share the file you're currently viewing, you can simply copy that URL. This is also reflected in the browser history, so pressing the 'back' button will take you to the previously viewed file instead of leaving the Repl entirely.
For more precise links, you can use the following formats:
- Share a file: Copy the current URL
- Specify a line: Add
:lineto the end of the URL - Specify a line and column: Add
:line:colto the end of the URL
In the future, a Named deeplinks feature will also be added, allowing you to assign aliases to important parts of your codebase.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.