CorfedoCorfedoDocs
Use Corfedo

Browse code

Find a repository, read its files at the indexed commit, jump to definitions and share links to exact lines that keep pointing at the same code.

The code browser shows a repository's files as Corfedo indexed them. Use it to read code, follow a name to its definition and share exact lines.

Before you begin

The repository shows Searchable. Repositories explains the other statuses.

Read files

Open the repository

Select Repositories in the sidebar, open a repository and select Code.

Open a file

Select files in the tree, or press t and type the start of a file name or path. Symbols lists the file's declarations.

Check: the file shows with line numbers, and the header names the commit.

Follow a name

Ctrl-click (⌘-click on a Mac) a name, or press F12 on it, to go to its definition. Press Shift+F12, or select Find usages, to search for its uses in this repository or everywhere.

Definitions are found by name in the index, not by a compiler. Two classes with the same name both appear.

Share exact lines

Select a line number, and Shift-select another to extend the range. Copy link copies a link with the commit and lines, so it keeps pointing at the same code after the repository is indexed again.

Ask Corfedo asks about the file and the selected lines in a new conversation. A link to an older commit shows a banner with Open current for the latest version.

When code is missing

What you seeWhy
Code is greyed outThe repository is not indexed yet. Check its status.
"This code cannot be read right now"The code is temporarily unavailable. Try again shortly.
"Showing the first N lines"The file is too large to show whole. Select Open on your forge to see all of it.
"This revision is no longer available."The link's commit is no longer kept. Select Open current version.
"You do not have access to this repository's code."Your role shows the repository but not its code, such as Security reader. Ask a workspace administrator for access.
A repository is not in the listYou cannot read it, or it is not connected yet. See Add a source.

On this page