Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snippets: The format shown in the manual causes an old format detected popup #4766

Closed
KormexGit opened this issue Feb 20, 2024 · 1 comment
Closed
Assignees
Labels
docs-bug GameMaker Manual Bugs

Comments

@KormexGit
Copy link

Description

Copy and pasting the exact example used in the manual

I - Instance Create:instance_create_layer(x, y, |layer|, object);

will cause this to pop up when GM is started:

image

Checking the text file again after hitting yes, it will show this

Instance Create:instance_create_layer(x, y, |layer|, object);

The snippet will still be linked to the I key properly in the IDE, but there's now no clear way to edit what key the snippet is bound to. Whatever the new way is, it should be in the documentation.

In addition, the location listed in the manual to create the text file is %ProgramData%\GameMaker\User, but the folder is actually called GameMakerStudio2 instead of just GameMaker.

Manual Link

https://manual.gamemaker.io/monthly/en/index.htm#t=The_Asset_Editors%2FCode_Editor_Properties%2FCode_Snippets.htm

@KormexGit KormexGit added the docs-bug GameMaker Manual Bugs label Feb 20, 2024
@SmithTom6304
Copy link

@gurpreetsinghmatharoo We'll need to update the manual page with the following changes:

  • Remove the binding from the snippets example, in this case the leading I -
  • Mention that any custom snippets added will have an unbound hotkey created for them
  • Mention that these hotkeys can be remapped like any other through the Preferences -> Redefine Keys menu
  • Replace the example screenshot at the bottom, which contains out-of-date default snippets. These snippets no longer have bindings, as they are specified through the usual hotkeys files

gurpreetsinghmatharoo added a commit to YoYoGames/GameMaker-Manual that referenced this issue May 8, 2024
… format detected popup

YoYoGames/GameMaker-Bugs#4766

And

struct_get_names() page should say that the names will not be ordered per declaration in code
YoYoGames/GameMaker-Bugs#4633
@github-project-automation github-project-automation bot moved this from Backlog to Done in Team Workload May 8, 2024
@gurpreetsinghmatharoo gurpreetsinghmatharoo moved this from Done to Ready for QA in Team Workload May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs-bug GameMaker Manual Bugs
Projects
Status: Ready for QA
Development

No branches or pull requests

3 participants