Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Okay, so that’s a different thing - when navigating to a sub-region, GMEdit searches for the first mention of that name after the parent (in this case, function Test), and adding /// @func name also does make for a mention of the name, so it goes there instead. I’ll need to implement a slightly more complex solution for this.

On a side note, neither GMEdit nor GMS2.3 currently give any meaning to /// @func inside constructors. GMEdit will automatically pick up named arguments from functions static foo = function(a, b) for contextual completion, so sticking to that may suffice.

Thank you for the clarification and also for the one with /// @func inside constructors with GMS2.3, I didn't know that. But still, I need it for the automatic generation of the documentation for the project I'm working on.

Upon some testing I regret to inform that in GMS2.3 IDE /// @func has no “context”, meaning that redefining the same function in different constructors will have them fight over what which version will be shown in auto-completion. @param may be more conventional for purposes of documentation generator.