Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display color picker when editing colors #643

Open
WeaverSong opened this issue Apr 11, 2024 · 3 comments
Open

Display color picker when editing colors #643

WeaverSong opened this issue Apr 11, 2024 · 3 comments

Comments

@WeaverSong
Copy link

Godot version

v4.3.dev5.official [c9c17d6ca]

VS Code version

1.88.0

Godot Tools VS Code extension version

2.0.0

System information

Fedora Linux 39 (KDE Plasma)

Problem statement

It's extremely inconvenient to edit colors manually, and currently the best way to do so seems to be to switch back to Godot every time and find/create a node with a color dialog, or export every color.

Proposed solution

Add/support a simple color picker for Godot's Color format.

@Calinou
Copy link
Member

Calinou commented Apr 15, 2024

Does VS Code have a built-in color picker control? If not, you may want to check for third-party color picker extensions; some of them might support Godot's Color(R, G, B[, A]) format already.

If there's an extension that works well with GDScript, we could recommend it in the extension's README 🙂

@DaelonSuzuka
Copy link
Collaborator

Well, here's quick proof-of-concept:

Code_nKrSkts838

VSCode's built-in color picker is so bad that I honestly don't see myself using this.

@Calinou
Copy link
Member

Calinou commented Apr 17, 2024

VSCode's built-in color picker is so bad that I honestly don't see myself using this.

It certainly has room for improvement, but I think many will appreciate the inline color preview next to each Color() declaration.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants