Qubus0 / GodotColorPreview

This Plugin lets you preview colours from code in the same line directly next to the line numbers and breakpoints. Click any preview to open a color picker where you can edit the color directly.

Home Page:https://godotengine.org/asset-library/asset/1252

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Godot Color Preview Addon

! Note: this plugin only works for Godot 4.x

Updated to 4.0.stable. If something did break in a newer version, please open an issue or a pull request.

Now available on the Godot Asset Library: Color Preview

Installation

  1. In the Godot Editor, go to the AssetLib tab
  2. Search for 'Color Preview', select and press Download
  3. Select only the addons/ColorPreview folder and press Install

Or:

  1. Download/Pull this repository
  2. Add the ColorPreview/ directory and its contents to the addons/ directory in your Godot project

Enabling the addon

Go to Project > Project Settings... > Plugins and press Enable

Once you have done this, every line containing a Color will have a preview left of the breakpoint gutter. Click any preview to open a color picker where you can edit the color directly.

Color Preview in the main code editor Color Preview in the shader editor


Contributing PRs Welcome

You are welcome to contribute to this project. Please read the Contributing guidelines for more details.

If you find any bugs, have proposals or want to outline how to fix something without opening a Pull Request, feel free to Open an Issue


If you want to support me otherwise, you can star this repo, share it, or

Buy Me A Coffee

About

This Plugin lets you preview colours from code in the same line directly next to the line numbers and breakpoints. Click any preview to open a color picker where you can edit the color directly.

https://godotengine.org/asset-library/asset/1252

License:MIT License


Languages

Language:GDScript 100.0%