How To Add Intelligent Code Completion To GameMaker Scripts

on January 2, 2014 - 16062 Views

As of version 1.2.1214, GameMaker Studio can display your custom script arguments in IntelliSense. If not configured, GameMaker Studio’s editor will not display arguments for scripts while typing code.

To add intelligent code completion to scripts, simply add /// at the top of your script, then define the function name and arguments.

intelligent-code-completion

Do not use spaces between the script name and the leading parenthesis, or between arguments.

It takes just a few seconds to improve your scripts by adding intelligent code completion.

Recent Posts

4 Responses to How To Add Intelligent Code Completion To GameMaker Scripts

  1. To add: As of 1.2.1264, you may include spaces both between slashes and function name, as well as arguments, making
    /// cycle(value, min, max)
    a perfectly valid header, granting both intellisense and consistent spacing.

  2. opposing forces says:

    nice tip TV. just picked up studio for free a few months back when yoyo offered a free upgrade from gm 8.1. nice to learn these new subtle improvements.

  3. The mafia says:

    These little tips are so useful, going through this process pretty much every day these days.
    Leaving /// and comments into code is one of the most useful things when you just know you aint going to finish something and don’t want to lose track the next time you work on something!

Leave a Reply

Your email address will not be published. Required fields are marked *

UA-103187421-1