Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Lists all #region markers in the currently open script and lets you jump to any of them with a single click.
Region Viewer
A Godot 4 editor plugin that lists all #region markers in the currently open script and lets you jump to any of them with a single click.
Features
- Automatically scans the active script for
#regionmarkers - Updates the list in real time as you type
- Switches to the correct region list when you change the active script
- Click any region in the panel to jump directly to that line
- Unfolds folded regions automatically on navigation
Installation
- Download or clone this repository into your project's
addons/folder:
your_project/
βββ addons/
βββ region-viewer/
βββ plugin.cfg
βββ plugin.gd
- Open your project in the Godot editor.
- Go to Project β Project Settings β Plugins.
- Find Region Viewer in the list and set it to Enabled.
Usage
- Open any GDScript file in the Godot script editor.
- In the left dock, find the Regions panel.
- All
#regionmarkers in the current script are listed automatically. - Click any entry to jump to that region in the script editor.
Defining Regions
Use standard GDScript region syntax:
#region My Region Name
func my_function():
pass
#endregion
Regions without a name are shown as Unnamed Region - Line: N.
Requirements
- Godot 4.x
plugin.cfg
[plugin]
name="Region Viewer"
description="Shows #region blocks"
author="Joy Maxima"
version="1.0"
script="plugin.gd"
License
MIT License. See LICENSE for details.
Lists all #region markers in the currently open script and lets you jump to any of them with a single click.
Reviews
Quick Information
Lists all #region markers in the currently open script and lets you jump to any of them with a single click.