One huge thing I learned almost immediately after making this video: Ctrl+K will comment out all selected lines of code! and better still, control shift K will UNcomment them! Huge!
Glad to see alt+click finally getting some love :') Some other favorites of mine: - Control+G, go to a line - especially helpful when you want to go to the exact location of an error message and you don't feel like scrolling in a code window - F9, toggle breakpoint - this is nice for both actually using the debugger, and for using the Breakpoints tab as a better bookmarks list because let's be honest, nobody remembers Control+Shift+Number - F5 and F6 for running and debugging - pretty sure most people know these by now - Holding Shift and Control in code editors with arrow keys/mouse/home/end/backspace/etc lets you do fancy things like selecting a whole word at once, a whole line at once, etc - these are pretty standard in text editors nowadays - Everyone knows that Tab indents a line at the text insertion point, but selecting part of a line and hitting Tab will indent the entire line one interval, and Shift+Tab will unindent the line
similar to middle clicking functions to bring up the documentation, you can also middle click a user-defined function and it will jump you to where it is declared. really really useful.
!!!!!!! I thought I'd seen everything but 2:23 made me *literally fall out of my chair!* I have been desperate for this feature especially when I have content authoring stored in some big ds_grid but never even thought to ask cause I figured it was ridiculous. This is an *absolute gamechanger holy cow!*
Ctrl+A is my most used one; brings up a list of most if not all the assets you can create on the workspace. It's very very similar to creating stuff in Blender.
Knowledge clearly IS power, and I definitely feel more powerful after watching this short video, despite having been using GMS2 for quite a few years now! ^^
Thanks for the "highlight + F1", that was new to me. CTRL + D for code is nice, something I keep forgetting. I frequently use it when duplicating sprites in the asset browser.
One thing to keep in mind about the global find and replace: it does *not* look inside the Variables tab of instances. I learned this the hard way when refactoring some code.
I guess the mail I sent you a month ago must have gone under your radar, since it was the holidays. If you find it by any chance, don't bother anymore. After I got no mail back, I canceled the project and work on something else now. If you are still doing workshops however, I could also need some help with my new project.
It's not instantly obvious but you can press Ctrl + F inside the Global Search Results allowing you to search inside the search results. Great for those very large projects.
One huge thing I learned almost immediately after making this video: Ctrl+K will comment out all selected lines of code! and better still, control shift K will UNcomment them! Huge!
WHAT
This is only very minor, but if ctrl+tab cycles through recent tabs, ctrl+shift+tab should do it in reverse order. Same as for tabs in a Web browser.
Tab / Shift+Tab will add/remove a tab (4 spaces long) to each selected line of code
oh wow, this is great!!! thanks!
I use CTRL+K for debugging, it is EXTREMELY useful for quickly just deactivating a whole load of code and isolating issues!
Glad to see alt+click finally getting some love :')
Some other favorites of mine:
- Control+G, go to a line - especially helpful when you want to go to the exact location of an error message and you don't feel like scrolling in a code window
- F9, toggle breakpoint - this is nice for both actually using the debugger, and for using the Breakpoints tab as a better bookmarks list because let's be honest, nobody remembers Control+Shift+Number
- F5 and F6 for running and debugging - pretty sure most people know these by now
- Holding Shift and Control in code editors with arrow keys/mouse/home/end/backspace/etc lets you do fancy things like selecting a whole word at once, a whole line at once, etc - these are pretty standard in text editors nowadays
- Everyone knows that Tab indents a line at the text insertion point, but selecting part of a line and hitting Tab will indent the entire line one interval, and Shift+Tab will unindent the line
Looking for these shortcuts, I didn’t remember how useful they were. Thank you for having this video and helping people. You are very kind. 🙂
similar to middle clicking functions to bring up the documentation, you can also middle click a user-defined function and it will jump you to where it is declared. really really useful.
I love using ctrl+m and ctrl+u to collapse and expand code blocks for regions, if statements, etc. 😀
!!!!!!! I thought I'd seen everything but 2:23 made me *literally fall out of my chair!* I have been desperate for this feature especially when I have content authoring stored in some big ds_grid but never even thought to ask cause I figured it was ridiculous. This is an *absolute gamechanger holy cow!*
Ctrl+A is my most used one; brings up a list of most if not all the assets you can create on the workspace. It's very very similar to creating stuff in Blender.
I’ve been learning how to use GameMaker and you’re tutorials have been so helpful. Thank you!
This is lowkey a BAFTA tier GameMaker vid, Ctrl+Shift+Num is a gamechanger that is going to save me so much time. Thanks
Knowledge clearly IS power, and I definitely feel more powerful after watching this short video, despite having been using GMS2 for quite a few years now! ^^
You are a hero!
Thank you so much for the middleclick shortcut. I was annoyed GMS2 didn’t have a VSCode-style lookup, but this solves everything
Wow!! Thank you❤️❤️
Thanks for the "highlight + F1", that was new to me.
CTRL + D for code is nice, something I keep forgetting. I frequently use it when duplicating sprites in the asset browser.
One thing to keep in mind about the global find and replace: it does *not* look inside the Variables tab of instances. I learned this the hard way when refactoring some code.
I knew the majority of them, but the bookmark one and the select at any layer are interesting, I thing i'll be using it a lot
Thanks for the helpful shortcuts!
useful 100%
You forgot CTRL+SHIFT+ALT+Q+W+E+R+T+Y+ESC+delete system32 to make Undertale 3 in 1 second
ive done the bookmark thing on accident so many times
Alt + click, vertical select omg
I guess the mail I sent you a month ago must have gone under your radar, since it was the holidays. If you find it by any chance, don't bother anymore. After I got no mail back, I canceled the project and work on something else now. If you are still doing workshops however, I could also need some help with my new project.
It's not instantly obvious but you can press Ctrl + F inside the Global Search Results allowing you to search inside the search results. Great for those very large projects.