Vetrix Docs

Symbols

Symbol search lets you find the functions, classes, types, and constants that Vetrix has indexed from a repository's code, then jump straight to where each one is defined. It is faster than scrolling the file tree when you already know the name of what you are looking for.

Where to find it

Open a repository, then add /symbols to its address to open Symbol search. A breadcrumb at the top shows your place as owner / repo / Symbols.

  • URL pattern: gitvetrix.com/<owner>/<repo>/symbols

Search for a symbol

  1. Open Symbol search for the repository.
  2. Type part of a name into the Filter symbols by name… box at the top. The search starts on its own a moment after you stop typing.
  3. Read the results below the count of how many symbols were found. Each result shows a kind badge, the symbol name, its container in parentheses when it has one, and the file and line where it lives.
  4. Refine the list with the kind filter buttons above the results: All, function, class, interface, constant, variable, or type. The selected filter is highlighted.

If nothing matches, Vetrix shows No symbols found. If the repository has not been indexed yet, it shows No symbols indexed instead.

Open a symbol's definition

  1. Find the symbol in the results.
  2. Select the file path shown under the symbol name to open that file at the exact line.
  3. Alternatively, select Jump on the right of the row to go straight to the definition.

Either route opens the file viewer with the symbol's line highlighted, so you land on the definition without scrolling.

  • Browsing code — browse the file tree, read files, and view blame.