godotengine / godotengine/godot
Property completion can't be filtered
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### 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.
https://github.com/user-attachments/assets/8902e3a0-8684-430f-a74c-e288d105d6ba
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
1. Add this code in a script
```GDScript
func _ready() -> void:
var tw := create_tween()
tw.tween_property($icon,
```
($icon is a Sprite2D)
2. Try to filter a property in autocompletion popup
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Reproduce the problem in Godot's script editor with the provided `tween_property($icon,` snippet and a Sprite2D target. Check the property-name autocompletion popup while typing and after entering a quote; done means property names remain searchable and the completion does not disappear unexpectedly.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100