That's something that has been bugging me for many versions of the Editor :
1) Go to your global script
2) Write this :
DynamicSprite* s = DynamicSprite.Create(1,1);
DrawingSurface* ds = s.GetDrawingSurface
3)
- What you observe (good) : the word "GetDrawingSurface" to be suggested as autocomplete when you start typing it
4) Now, repeat the exact same steps in a ROOM script :
- What you expect (good) : the word "GetDrawingSurface" to be suggested as autocomplete when you start typing it
- What you observe (bad) : the word "GetDrawingSurface" is not suggested
If I'm not mistaken, none of the DynamicSprite functions get their autocomplete in Room scripts
I'm using the latest version (I think it's 3.5.0.24 or something).
This issue has existed probably since 3.4.x
Haven't checked... But, you need at least 3 characters before autocomplete kicks in on its own. Otherwise, Ctrl+Space invokes autocomplete.
Room scripts are weird (https://github.com/adventuregamestudio/ags/issues/187).
Anyway, I think this should be posted in the github issue tracker if it's actually reproducible.
Quote from: eri0o on Wed 10/02/2021 09:32:49
Haven't checked... But, you need at least 3 characters before autocomplete kicks in on its own. Otherwise, Ctrl+Space invokes autocomplete.
You should check, you will see that this case is quite unique.