in , , , ,

How To Add Intelligent Code Completion To GameMaker Scripts

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.

What do you think?

4 Comments

Leave a Reply
  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. 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. 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 to The mafia Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Game Review – Hero Siege

5 Digital Markets Game Developers Should Watch In 2014