Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be πŸ“–

Region Viewer

An asset by joymaxima
The page banner background of a mountain and forest
Region Viewer hero image

Quick Information

0 ratings
Region Viewer icon image
joymaxima
Region Viewer

Lists all #region markers in the currently open script and lets you jump to any of them with a single click.

Supported Engine Version
4.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
8 hours ago
Git URL
Issue URL

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 #region markers
  • 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

  1. Download or clone this repository into your project's addons/ folder:
your_project/
└── addons/
    └── region-viewer/
        β”œβ”€β”€ plugin.cfg
        └── plugin.gd
  1. Open your project in the Godot editor.
  2. Go to Project β†’ Project Settings β†’ Plugins.
  3. Find Region Viewer in the list and set it to Enabled.

Usage

  1. Open any GDScript file in the Godot script editor.
  2. In the left dock, find the Regions panel.
  3. All #region markers in the current script are listed automatically.
  4. 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

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Region Viewer icon image
joymaxima
Region Viewer

Lists all #region markers in the currently open script and lets you jump to any of them with a single click.

Supported Engine Version
4.1
Version String
1.0
License Version
MIT
Support Level
community
Modified Date
8 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers