GLBasic forum

Main forum => Bug Reports => Topic started by: bigsofty on 2011-Jun-27

Title: Constants in Jumps list
Post by: bigsofty on 2011-Jun-27
Shouldn't CONSTANT definitions be in the Jumps list tab, for a file? It makes it slightly more awkward to locate their definition otherwise.
Title: Re: Constants in Jumps list
Post by: Kitty Hello on 2011-Jun-27
hm. You can put a sub __CONSTANTS__ before them. That's what I do. Not nice, though. If you have every constant in the list, it might overflow for large projects.
Title: Re: Constants in Jumps list
Post by: bigsofty on 2011-Jun-27
What's the limit on the tree before an overflow?
Title: Re: Constants in Jumps list
Post by: Kitty Hello on 2011-Jun-27
screen height. I mean visual overflow.
Title: Re: Constants in Jumps list
Post by: bigsofty on 2011-Jun-27
How about putting constants in their own branch, collapsed by default?
Title: Re: Constants in Jumps list
Post by: Slydog on 2011-Jun-27
Or add CONSTANTS to the 'Go to definition' context menu option.
While you're at it, how about adding TYPES to this list also?

This would make locating CONSTANTS and TYPES so much easier.
Right now I hi-light the CONSTANT (or TYPE name) and do a search all files command (<CTRL>+<SHIFT>+<F>) and locate the definition by hand.