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 autocompletion for ClassDB & AudioServer #86777

Merged
merged 1 commit into from
Mar 1, 2024

Conversation

Mickeon
Copy link
Contributor

@Mickeon Mickeon commented Jan 4, 2024

Related to #86753, #86747, #86758, and #86764

This PR adds autocompletion for almost all of the methods in ClassDB.

image

This is probably the biggest chain of methods to check for options. These can really come in handy preventing misspells while developing addons and the likes of them, although admittedly it's fairly niche.

At first, I was afraid I would have to cache the results for how many there are, but I'm surprised there was no particularly stutter.

... Because it was so small, I also added autocompletion for AudioServer's get_bus_index() and set_bus_send(), which is just plain nice, I assure you.

@akien-mga akien-mga merged commit 0618bff into godotengine:master Mar 1, 2024
16 checks passed
@akien-mga
Copy link
Member

Thanks!

@Mickeon Mickeon deleted the autocomplete-classdb branch March 1, 2024 14:31
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.

3 participants