Please allow event code from base objects to be hidden from view through shortcut or a button, as shown below.
In some bigger objects you might have lots of code in the base while the child object only inherits one or two events.
Some of those base objects will likely do lots of stuff.\
While it is a good thing, to have the option to see "the running code" (i.e. the sum of all code through all inheritance levels), it can become distracting when trying to implement one object.
See this images as example:\
Many events implemented in base, only a view overwritten/inherited. Now if that base object holds hundreds of lines of code, you scroll to heaven to reach the two mouse events in CE2.
Describe the solution you'd like
It would be great to have a button, best in the top right position, where alignment resides which hides base code from view, so we see only the code exclusive for this object.
It could look like this - first image shows "active" state (base code visible)\
this is the disabled state, base code is hidden\
Please also add an option in the preferences to set the default state of this button when opening an object's code.
As an even stronger example, see this image of a controller object, which redirects many events to other places. Now a game object is inherited from this and adds a collision with the "Exit" object. I need to scroll like 15 screen heights down (or scroll an enormous list from the top nav) to reach the event. If I could hide the base code, the entire code of the object would fit on one screen.
Describe alternatives you've considered
No response
Additional context
If this feature already exists somewhere, it has been hidden good enough for me, to miss it. My apologies in that case, please let me know how to set it, so the base code is hidden.
Is your feature request related to a problem?
Hello,
Please allow event code from base objects to be hidden from view through shortcut or a button, as shown below.
In some bigger objects you might have lots of code in the base while the child object only inherits one or two events. Some of those base objects will likely do lots of stuff.\ While it is a good thing, to have the option to see "the running code" (i.e. the sum of all code through all inheritance levels), it can become distracting when trying to implement one object.
See this images as example:\
Many events implemented in base, only a view overwritten/inherited. Now if that base object holds hundreds of lines of code, you scroll to heaven to reach the two mouse events in CE2.
Describe the solution you'd like
It would be great to have a button, best in the top right position, where alignment resides which hides base code from view, so we see only the code exclusive for this object.
It could look like this - first image shows "active" state (base code visible)\
this is the disabled state, base code is hidden\
Please also add an option in the preferences to set the default state of this button when opening an object's code.
As an even stronger example, see this image of a controller object, which redirects many events to other places. Now a game object is inherited from this and adds a collision with the "Exit" object. I need to scroll like 15 screen heights down (or scroll an enormous list from the top nav) to reach the event. If I could hide the base code, the entire code of the object would fit on one screen.
Describe alternatives you've considered
No response
Additional context
If this feature already exists somewhere, it has been hidden good enough for me, to miss it. My apologies in that case, please let me know how to set it, so the base code is hidden.
thanks for reading,\ cheers,\ Gris