A downloadable userscript

Download NowName your own price

This userscript provides a number of improvements for code snippets in GameMaker: Studio' online manual:

  • Syntax highlighting
    By default, examples in the manual are shown as plain white text. That's no good! So this script colors that a bit, to a state that is not too unlike the standard code editor scheme seen in the program.
  • Code formatting
    By default, GameMaker manual is written largely with Whitesmiths indentation style with some Pascal-ish bits regarding spacing and parenthesis usage. This is sort of fine, but not too strict and not always consistent. So this script formats the code to something resembling 1TBS style with enforced consistency in regards of spacing and parentheses.
  • Quick Navigation
    A small but convenient feature, this script automatically links function\variable\constant names in snippets to point to the according documentation page.
StatusReleased
CategoryTool
Rating
Rated 5.0 out of 5 stars
(2 total ratings)
AuthorYellowAfterlife
Made withGameMaker
TagsGameMaker, userscript

Download

Download NowName your own price

Click download now to get access to the following files:

gamemaker_doc.user.js
External

Comments

Log in with itch.io to leave a comment.

Thanks for this, that's still very useful. There's just a little issue to me with negative numbers, where an extra space is sometimes added between the minus and the number, for instance in the example here: http://docs.yoyogames.com/index.html?page=source%2Fdadiospice%2F002_reference%2F...

sorry, how do i use this?

Install GreaseMonkey (Firefox) or TamperMonkey (Chromium-based browsers).

The download should bring up a dialog confirming userscript installation.

cough

// @include http://docs.yoyogames.com/source/*

// @include https://docs.yoyogames.com/source/*

// @include http://docs2.yoyogames.com/source/*

// @include https://docs2.yoyogames.com/source/*

(+2)

Money well spent! Great Job!