Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: RickJ on Mon 29/09/2008 18:32:09

Title: SUGGESTION: Simple Script Editor Bookmarks
Post by: RickJ on Mon 29/09/2008 18:32:09
The "drop list-goto function"  at the top of the editor is a really great feature.   I was thinking that it would be even be better, especially when working on very large scripts,  that it would be even better if it could also list user defined bookmarks, at the top of the list.

Perhaps there could be a #bookmark  directive to insert the bookmark so if  something like this were inserted in the script ...

#bookmark  Static Variables
int MyVar;
     :
#bookmark  Variables I am working on
     :
#bookmark  The Function I am working on
     :

(general settings)
The drop down list would look something like this:

Static Variables
Variables I am working on
The Function I am working on
----------------------------------------------------------------------------
game_start()
on_key_Press()
     :


Anyway it's just something that I thought would be very useful and not too difficult to implement.  There have been other suggestions such as folding, etc that also address this issue.   This is perhaps the easiest to implement and would eliminate or lessen the need for some of the other more difficult/complicated solutions?
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: Pumaman on Mon 29/09/2008 20:27:26
I like that, it sounds like a neat way of doing this. Would anyone else find it useful?
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: RickJ on Mon 29/09/2008 20:44:07
I would also note that there is mucho white space on the right hand side of the current drop list, as fucntion names tend to be so much shorter than the screen width so it would perhaps be worth considering adding a second drop list so that there would be one for functions and a new one for bookmarks?
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: TwinMoon on Mon 29/09/2008 20:49:12
This would be very useful.

Right now I have a text file where I keep track of what I'm working on (it's always 5+ things at a time) and this would certainly be a cleaner & faster solution.
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: monkey0506 on Mon 29/09/2008 21:41:55
I actually really like this suggestion. It's very similar to a previous request for user-defined sections. I'd say it's definitely useful!
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: miguel on Mon 29/09/2008 21:48:56
It would help me a lot as well.
CTRL+F does help but that would be even better.
Title: Re: SUGGESTION: Simple Script Editor Bookmarks
Post by: Dualnames on Mon 29/09/2008 21:54:33
I'd beg on my knees for that.. it;s not easy changing vital stuff in more than 12000 code lines.