SUGGESTION: Simple Script Editor Bookmarks

Started by RickJ, Mon 29/09/2008 18:32:09

Previous topic - Next topic

RickJ

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 ...
Code: ags

#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:
Code: ags

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?

Pumaman

I like that, it sounds like a neat way of doing this. Would anyone else find it useful?

RickJ

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?

TwinMoon

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.

monkey0506

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!

miguel

It would help me a lot as well.
CTRL+F does help but that would be even better.
Working on a RON game!!!!!

Dualnames

I'd beg on my knees for that.. it;s not easy changing vital stuff in more than 12000 code lines.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk