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

Add is_internal property to scripts to hide objects from create dialog #95806

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

Conversation

adamscott
Copy link
Member

@adamscott adamscott commented Aug 19, 2024

This PR adds:

  • an is_internal value to scripts
  • an @internal annotation for GDScript

This PR aims to let plugin developers a way to differentiate their internal plugin classes from the ones they intend to expose. Note: This is not related to GDScript namespacing.

Editor settings Capture d’écran, le 2024-08-19 à 10 45 07
Show internal disabled Show internal enabled
 Capture d’écran, le 2024-08-19 à 11 13 29 Capture d’écran, le 2024-08-19 à 11 13 48

@raulsntos
Copy link
Member

@adamscott
Copy link
Member Author

Didn't know that it existed! Thanks @raulsntos.

From a first glance, my PR seems way easier in terms of implementation. I'll review @ajreckof's PR more thoroughly in a few minutes.

@adamscott adamscott force-pushed the add-internal-objects branch from 71f0756 to 1e38d10 Compare August 19, 2024 17:17
@adamscott adamscott requested a review from a team as a code owner August 19, 2024 17:17

Verified

This commit was signed with the committer’s verified signature.
adamscott Adam Scott
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants