r/gamemaker • u/helple0 • 4d ago
Help! Comments automatically creates foldable spaces, how to toggle off?
So, I have been using Code Editor 2 for some six months now, and my complaints are far too many to fit in a single post (code folds and jumps around in unpredictable ways, regions break far too often, parameter overlay when writing a function is unreliable, general instability), but what is getting on my nerves is that a // comment in consecutive lines creates a foldable space, as in the example above.
I have a habit of commenting liberally, and using hotkeys to close all regions to organize my scripts means those commented spaces also close down, hampering legibility. I know this sounds minor, but it is really annoying, is there is any way to toggle this off?
8
u/DragoniteSpam it's *probably* not a bug in Game Maker 4d ago
this was apparently fixed recently, but it didn't make it into 26.1 so we'll have to wait for the next round of betas to see it: https://github.com/YoYoGames/GameMaker-Bugs/issues/11239
/u/FoxyOfJungle
3
u/FoxyOfJungle 4d ago
Please make a feature request and I'll upvote it, I also don't like it
2
u/KhaoMortadios 1d ago
Folding is so ungodly awful in Code Editor 2 that I just can't bring myself to make the change yet. It's crazy to me cause I remember there were similar issues back when they added code folding for the first time but they solved them all almost immediately.
You've been able to disable automatic statement folding in CE1 and I can't understand why the option is still not available in CE2. It makes regions pointless.
1
u/RednaxResom 2d ago
Boy, this makes me glad I decided to hold off switching to Code Editor 2
1
u/Agreeable_Pea5093 1d ago
Why would you ever want to dobthat tho