> ## Documentation Index
> Fetch the complete documentation index at: https://new.docs.falkordb.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Query Editor

> Cypher editor: run shortcuts, autocomplete, maximize mode, placeholder behavior, and graph-scoped suggestions.

The query editor is a Monaco-based Cypher editor used to run queries against the selected graph.

<img src="https://mintcdn.com/falkordb-core/4RKo-4HTPunDsB0h/images/browser/query-editor.png?fit=max&auto=format&n=4RKo-4HTPunDsB0h&q=85&s=a9c34ce9eebff14a29128923484ac042" alt="Query editor" width="1581" height="53" data-path="images/browser/query-editor.png" />

## Running queries

* Click **RUN** to execute.
* Keyboard shortcuts:
  * **Enter**: run query (when the suggestion widget is not open)
  * **Cmd/Ctrl + Enter**: run query
  * **Shift + Enter**: insert a newline

## Query history navigation (keyboard)

When your cursor is on the **first line** or **last line** of the editor:

* **Up arrow**: navigate backward through query history
* **Down arrow**: navigate forward through query history

## Autocomplete & syntax highlighting

The editor provides:

* Cypher keyword suggestions
* Function suggestions
* Graph-scoped suggestions (labels, relationship types, property keys) fetched from the server

## Maximize mode

The maximize button opens a full-screen editor dialog with the same Run/Clear controls.

## Frequently Asked Questions

<AccordionGroup>
  <Accordion title="What keyboard shortcuts are available for running queries?">
    Press **Enter** to run a query (only when the autocomplete suggestion widget is closed) or **Cmd/Ctrl + Enter** to run regardless. Use **Shift + Enter** to insert a newline without executing.
  </Accordion>

  <Accordion title="Does the editor support autocomplete?">
    Yes. The Monaco-based editor provides **Cypher keyword suggestions**, **function suggestions**, and **graph-scoped suggestions** (labels, relationship types, property keys) fetched from the server.
  </Accordion>

  <Accordion title="How do I navigate through previous queries using the keyboard?">
    Place your cursor on the **first line** and press **Up arrow** to go back through history, or on the **last line** and press **Down arrow** to go forward.
  </Accordion>

  <Accordion title="Can I expand the editor to full screen?">
    Yes. Click the **maximize button** to open a full-screen editor dialog with the same Run and Clear controls.
  </Accordion>
</AccordionGroup>
