• Hello [name]! Thanks for joining the GMC. Before making any posts in the Tech Support forum, can we suggest you read the forum rules? These are simple guidelines that we ask you to follow so that you can get the best help possible for your issue.

Discussion Code editor quiffs and suggestions

Cpaz

Member
So first and foremost: I'm really enjoying messing with the GMS2 beta. It give me an opportunity to "test the waters" as it were. The room editor, the more customizable IDE, it's all great!

The problem: The way the current code editor works, it really tends to slow me down.
It works like so. You click an event to edit/create, it opens the script in the workspace with the object properties. Ok. Cool! The issue with that is most of the time, I'm using the "maximized" code editor. So when I open another event script, I have to manually maximize that- OH BUT WAIT! It takes that script into it's own workspace, rather than moving to the workspace with the other scripts of the same object.

My suggestion: When selecting an event to edit, have the IDE automatically detect whether or not there's a workspace with scripts of that object, and move it there. Auto sorting the events would be a nice option too (IE: placing the create event as the first tab).

Another unlikely suggestion: I'd personally prefer there to be an option of having a "mini" code editor that pops out of the IDE (ala GMS1.4 style) instead of the entirely separate workspace. Maybe I'd use the pop out workspaces if the scripts opened there when selected, but meh.

Just a few thoughts I jotted down.
Thanks for your time.
 

Nocturne

Friendly Tyrant
Forum Staff
Admin
It works like so. You click an event to edit/create, it opens the script in the workspace with the object properties. Ok. Cool! The issue with that is most of the time, I'm using the "maximized" code editor. So when I open another event script, I have to manually maximize that- OH BUT WAIT! It takes that script into it's own workspace, rather than moving to the workspace with the other scripts of the same object.
There are preferences that you can enable/disable to control these things: http://docs2.yoyogames.com/source/_...ing_started/preferences/prefs_texteditor.html
You can also split a code editor workspace into various panes and have them show two or mosre scripts side-by-side. See the section on "Editing" here: http://docs2.yoyogames.com/source/_build/2_interface/1_editors/scripts.html
 

Cpaz

Member
There are preferences that you can enable/disable to control these things: http://docs2.yoyogames.com/source/_...ing_started/preferences/prefs_texteditor.html
You can also split a code editor workspace into various panes and have them show two or mosre scripts side-by-side. See the section on "Editing" here: http://docs2.yoyogames.com/source/_build/2_interface/1_editors/scripts.html
I had found the splitting the code editor into panes, but missed the code editor preferences. You would have thought that after searching the preferences a dozen time over I would have seen that. (Granted, for me the preferences is confusing to navigate for some reason... I'm weird.)
 

Mike

nobody important
GMC Elder
we will be adding an "actual" search to the preferences at some point, that should help with discovery of things like this.
 
  • Like
Reactions: xot
Top