In the @param {type} variable jsDoc syntax, when marking the variable's type as {enum} the feather hover information shows it as Struct instead.
Steps To Reproduce
Sample code (hover over it to see event marked as Struct instead of enum or Real):
/// @func pubsub_subscribe(event, func);
/// @desc Subscribe to an event. Returns whether the event was subscribed to successfully.
/// @param {enum} _event Event to subscribe to.
/// @param {function} _func Anonymous function for what will the event do when fired.
/// @returns Bool
function pubsub_subscribe(_event, _func) {
with (o_pubsub_manager) {
subscribe(other.id, _event, _func);
return true;
}
return false;
}
Which version of GameMaker are you reporting this issue for?
IDE v2024.4.0.137 Runtime v2024.4.0.168
Which operating system(s) are you seeing the problem on?
Description
In the @param {type} variable jsDoc syntax, when marking the variable's type as {enum} the feather hover information shows it as Struct instead.
Steps To Reproduce
Sample code (hover over it to see event marked as Struct instead of enum or Real):
/// @func pubsub_subscribe(event, func); /// @desc Subscribe to an event. Returns whether the event was subscribed to successfully. /// @param {enum} _event Event to subscribe to. /// @param {function} _func Anonymous function for what will the event do when fired. /// @returns Bool function pubsub_subscribe(_event, _func) { with (o_pubsub_manager) { subscribe(other.id, _event, _func); return true; }
}
Which version of GameMaker are you reporting this issue for?
IDE v2024.4.0.137 Runtime v2024.4.0.168
Which operating system(s) are you seeing the problem on?
Windows 10.0.19045.0
ab9ab0f4-1163-4cf0-b7c0-5f3d460d598c