# Go to Definition

**Go to Definition** is a productivity tool inspired by VS Code’s navigation system. It allows you to instantly jump to the definition of a class, function, or variable directly from the **Text Editor**.

<figure><img src="/files/pzIkyvnJlbgUukT5QPzu" alt=""><figcaption></figcaption></figure>

***

### 📍 Location

* **Text Editor → Right-Click Context Menu → Go to Definition**
* Shortcut: **F12**

***

### ❓ How to Use

* **Right-click** on any function, class, or variable name.
* Choose **Go to Definition** from the context menu.
* Alternatively, press **F12** while the cursor is over the name.

***

### ⚙️ Features

* Quickly jump to the exact line where the item is defined.
* Works with:
  * Python classes
  * Functions
  * Local and global variables
* Accessible via:
  * Context menu
  * F12 keyboard shortcut


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://jishnujithu.gitbook.io/textify/tools/go-to-definition.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
