You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am currently working on a project allowing user to access files on the computer. I note suitable files in PackedStringArray to use less memory and fast-up the application. When it's time to not use these files anymore I want to erase them from PackedStringArray. The syntaxis hint showed me that the method I want can be used, but then for some reason debugger complains that such method does not exist in PackedStringArray. Later on, I checked up the embedded documentation and it indeed shows that 'erase' method does not exist.
I do not know if it was intended for the method to be absent, but I hope it was not as it would helped me a lot in my project.
Steps to reproduce
Create a PackedStringArray and after that try to type ".erase()". The hint appears, but debugger complains.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered:
AThousandShips
changed the title
Cannot find property "erase" on base "PackedStringArray"
Autocomplete suggests invalid methods, ignoring static typing
Jan 6, 2024
Tested versions
Godot v4.2.1.stable (Steam)
System information
Godot v4.2.1.stable - Windows 10.0.19045 - GLES3 (Compatibility) - NVIDIA GeForce RTX 2060 SUPER (NVIDIA; 31.0.15.3713) - AMD Ryzen 5 3500 6-Core Processor (6 Threads)
Issue description
I am currently working on a project allowing user to access files on the computer. I note suitable files in PackedStringArray to use less memory and fast-up the application. When it's time to not use these files anymore I want to erase them from PackedStringArray. The syntaxis hint showed me that the method I want can be used, but then for some reason debugger complains that such method does not exist in PackedStringArray. Later on, I checked up the embedded documentation and it indeed shows that 'erase' method does not exist.
I do not know if it was intended for the method to be absent, but I hope it was not as it would helped me a lot in my project.
Steps to reproduce
Create a PackedStringArray and after that try to type ".erase()". The hint appears, but debugger complains.
Minimal reproduction project (MRP)
N/A
The text was updated successfully, but these errors were encountered: