---
title: Go to a file, a line or a function
project: TotalEdit
version: Latest
section: guides
language: en
license: 
url: https://totaljs.es/docs/totaledit/latest/guides/go-to/
updated: 2026-12-02T15:40:06.047Z
---

# Go to a file, a line or a function

> One field takes you anywhere in the project. Open it with ⌘P on the Mac, Ctrl+P on Windows and Linux, or with the magnifying glass at the top.

## Go to a file

Write some letters of its name, in order. They do not need to be together: `usrctl` finds `user-controller.js`. The name counts more than the folders, and you can write a part of the path too.

Choose with the arrows and press Enter.

## Go to a line

| You write | Where you go |
| --- | --- |
| `:12` | Line 12 of the file in front |
| `user:12` | Line 12 of the file that `user` finds |

⌃G on the Mac, Ctrl+G on Windows and Linux, opens the field with the colon written. A press on the line and the column at the bottom of the window does the same.

## Go to a function, a type or a heading

Write `@` and some letters of the name, or press ⌘R on the Mac, Ctrl+R on Windows and Linux. With `@` alone you see them all, in the order of the file.

TotalEdit finds them by how the lines begin:

- functions, classes, interfaces, types and enums of JavaScript and TypeScript, and functions that are kept in a variable with an arrow;
- functions, structs, enums, traits and modules of Rust;
- functions and classes of Python, and functions of Go;
- headings of Markdown.

Lines that begin with `#` and a space are taken as headings in any file, so the comments of a shell script or of Python are in the list too.

To go where a name is defined, in this file or in another, use [the language help](/totaledit/latest/guides/language-help/).

## Which files it finds

The files of the folder open, also the hidden ones. It leaves out `.git`, `node_modules`, and what your `.gitignore` files leave out. You can still open those from the tree.

In [a folder on a server](/totaledit/latest/guides/servers/) the list of what is left out is another.
