-
-
Notifications
You must be signed in to change notification settings - Fork 21.4k
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
Property completion can't be filtered #101201
Comments
Maybe it doesn't know the type, but it's able to show the list of properties. If it shows the list, the list should be usable. |
How can show properties of something it still doesn't know what type is? |
On the video I attached you can see that the list of properties does display, you just can't filter it. |
Yep, it displays Edit: I just saw you were the guy who help wrote the I'm looking at Edit: Maybe it helps, i confirm |
Can reproduce. The problem doesn't really appear when using auto brace (or quotation) closing. When quotes are not auto closed this scenario produces an unclosed string which the parser will never leave since it will encounter EOF before a closing quotation mark. The completion context necessary for the list, only gets produced after the parameter is parsed which it never is in this case. We should probably look into phrase level recovery for the parser when doing autocompletion. There are some other issues that would benefit from this as well. Very dirty workaround, put this comment at the end of all your files: #" Well I guess that's not really an option 😅 |
Tested versions
4.4 dev7
System information
W10
Issue description
tween_property()
method provides completion for property names. The problem is that you can't search for a property.godot.windows.editor.dev.x86_64_jKcuqVgt8Q.mp4
As soon as you type something, the completion popup switches to properties of the current object instead of property names. If you try to start with quote, the completion disappears completely.
Steps to reproduce
($icon is a Sprite2D)
2. Try to filter a property in autocompletion popup
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: