Hello,
I have a struct like this one:
function TileObject(_sprite, _object, _blocked,[...]) constructor
{
sprite = _sprite;
blocked = _blocked;
destructible = _destructible;
movable = _movable;
rotatable = _rotatable;
object = _object;
openable = _openable;
Copy = function()
{
return new TileObject(sprite, object, blocked,[...]);
}
static Add = function(_sprite, _object, _blocked,[...])
{
var _instance = new TileObject(_sprite, _object, _blocked,[...]);
array_push(global.tileObjects, _instance);
}
}
Typing
TileObject.Add(
will not autocomplete arguments
Typing
TileObject.
will not autocomplete its properties either.
This is the main missing feature of GMS 2 that I complain about, is there a chance this ever gets added?
I don't mind manually "connecting" struct methods to the struct itself, as long as the editor can "see" the connection and make my life easier, so I don't have to keep struct window open on the side to use it.
Perhaps you have some workarounds for it?
JSDocs or a plugin will work for me, just make my life easier :|
Thanks
