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

Document @export_tool_button icon parameter in GDScript exports #10823

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Mar 31, 2025

I've started working on a website to browse editor icons, which should make it easier to choose an icon compared to the file list provided by GitHub. (This could also be made as a documentation page that's generated with a script, if we want to have this directly in the documentation.)

Edit: The website in question is up, I've linked it in the PR: https://godot-editor-icons.github.io

@Calinou Calinou added enhancement topic:gdscript area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.4 labels Mar 31, 2025
@MarianoGnu
Copy link

MarianoGnu commented Mar 31, 2025

I've started working on a website to browse editor icons, which should make it easier to choose an icon compared to the file list provided by GitHub.

I wonder how hard would be to add autocompletion with previsualization of icons to the second parameters, we already have specialized code for signals in emit_signal() and input events in Input.is_action_pressed() and similar.

However, from my little experience working with GdScript source code, annotations are tricky because they are parsed before the rest of the sources in an earlier stage 🤔

@Calinou Calinou force-pushed the gdscript-exports-tool-button-icon branch from 9086e94 to 949cf04 Compare March 31, 2025 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:manual Issues and PRs related to the Manual/Tutorials section of the documentation cherrypick:4.4 enhancement topic:gdscript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants