We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Godot version:
af290f7
OS/device including version:
Linux
Issue description:
A type's autocompletion would appear under an if-block when that object's type has been checked; for a common example:
func _input(event): if event is InputEventKey: event.
In 3.0.6, autocomplete would give you this:
Post-typed gdscript, this no longer works; the autocompletion for event under the if-block just displays the following:
event
Using typed gdscript, autocomplete works fine outside of the if-block (albeit just for the base class):
func _input(event : InputEvent) -> void: event. if event is InputEventKey:
But inside the if-block, again, it displays new and some constants.
new
As of right now, it's necessary for the user to cast event before autocomplete will appear:
var key = event as InputEventKey if key:
The text was updated successfully, but these errors were encountered:
CC @vnen
Sorry, something went wrong.
Been noticing this as well. Wasn't sure about it though, since I had some other auto-completion issue.
02acb07
vnen
No branches or pull requests
Godot version:
af290f7
OS/device including version:
Linux
Issue description:
A type's autocompletion would appear under an if-block when that object's type has been checked; for a common example:
In 3.0.6, autocomplete would give you this:
Post-typed gdscript, this no longer works; the autocompletion for
event
under the if-block just displays the following:Using typed gdscript, autocomplete works fine outside of the if-block (albeit just for the base class):
But inside the if-block, again, it displays
new
and some constants.As of right now, it's necessary for the user to cast
event
before autocomplete will appear:The text was updated successfully, but these errors were encountered: