-
-
Notifications
You must be signed in to change notification settings - Fork 21k
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
GDScript 2.0: Autocomplete doesn't work for function until restarting the editor #67740
Labels
Comments
nofacer
changed the title
Auto-complete doesn't work for function until reopen IDE
Auto-complete doesn't work for function until reopening IDE
Oct 22, 2022
nofacer
changed the title
Auto-complete doesn't work for function until reopening IDE
[4.0, Universal] Auto-complete doesn't work for function until reopening IDE
Oct 22, 2022
nofacer
changed the title
[4.0, Universal] Auto-complete doesn't work for function until reopening IDE
[4.0, beta3, Universal] Auto-complete doesn't work for function until reopening IDE
Oct 22, 2022
Calinou
changed the title
[4.0, beta3, Universal] Auto-complete doesn't work for function until reopening IDE
GDScript 2.0: Autocomplete doesn't work for function until reopening IDE
Oct 22, 2022
Calinou
changed the title
GDScript 2.0: Autocomplete doesn't work for function until reopening IDE
GDScript 2.0: Autocomplete doesn't work for function until restarting the editor
Oct 22, 2022
To clarify, are you using the built-in script editor or an external editor? |
@Calinou I'm using built-in script editor. |
Happens on v4.2.beta5 as well, using built-in editor. |
Still happening on v4.2.1, this is a bit annoying. |
Thanks for the report! Consolidating in #78074, as this is due to the same cause (cyclic reference). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Godot version
4.0 beta3
System information
macos 12.6
Issue description
I've a custom class in addon folder. It has a func named with fetch_class_name. The auto-complete for this func not show up. After I close the IDE and reopen then it works as expected.
Steps to reproduce
Create gd script in
res://addons/fsm/state.gd
In another script
res://addons/fsm/state_machine.gd
The auto completion doesn't work for
State.fetch_class_name()
andcur_state.enter()
Then close the IDE and reopen it.
It will work as expected
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: