I would like to the the partner line of a statement in the status. When investigating a code like IF a>1 ... IF b<a ... IF n>m .... ENDIF ... ENDIF ... ENDIF its hard to see which statement is the corresponding IF to a certain ENDIF line. So if the cursor is somewhere over a ENDIF line, a "[IF b<a...][ENDIF]" would help to keep the orientation
Another cool status information would be the name of the procedure where the cursor is at moment.
It's very handy when paging down through your code, for navigation.
Quite often I've been browsing my sources and wishing I knew where
the cursor was as I went. So that's why I put my +1 to the topic.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
freak wrote:I don't see the point of that. If you are so lost in the code that you do not even know that anymore, you probably shouldn't be editing there anyway
A typical example for "getting lost" is when using the find (and replace) command to change variable names etc.
Another reason why I get lost in my code: I use PureBasic on my Eee PC,
which has a resolution of 800 x 480 pixels. So it's quite normal for a whole
procedure NOT to be seen on one screenfull of the IDE. Thus, I don't know
which procedure I'm in without scrolling up or down, which is a hassle. Not
everyone codes with a 1600 x 1280 screen (or whatever the ratio is).
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
PB wrote:Another reason why I get lost in my code: I use PureBasic on my Eee PC,
which has a resolution of 800 x 480 pixels. So it's quite normal for a whole
procedure NOT to be seen on one screenfull of the IDE. Thus, I don't know
which procedure I'm in without scrolling up or down, which is a hassle. Not
everyone codes with a 1600 x 1280 screen (or whatever the ratio is).
Well, especially if you use such a small resolution, do you really want to waste a big part of the statusbar for the procedure name ? Because the information about the current command under the cursor certainly won't fit anymore then.
you could show the procedurename only if no command info is availabe from the cursor position. or you could color the current procedure in the procedure browser different from the other procedures.
..or you could simply say you don't want it
+1 on the ability to highlight which if endif statement you are in. Same with loops, etc... would be very useful. A lot of editors have this functionality and the PB IDE is missing it
Matt wrote:+1 on the ability to highlight which if endif statement you are in. Same with loops, etc... would be very useful. A lot of editors have this functionality and the PB IDE is missing it
Already done for the next release, but don't tell anyone
Matt wrote:+1 on the ability to highlight which if endif statement you are in. Same with loops, etc... would be very useful. A lot of editors have this functionality and the PB IDE is missing it
Already done for the next release, but don't tell anyone
PB wrote:Another reason why I get lost in my code: I use PureBasic on my Eee PC,
which has a resolution of 800 x 480 pixels. So it's quite normal for a whole
procedure NOT to be seen on one screenfull of the IDE. Thus, I don't know
which procedure I'm in without scrolling up or down, which is a hassle. Not
everyone codes with a 1600 x 1280 screen (or whatever the ratio is).
Well, especially if you use such a small resolution, do you really want to waste a big part of the statusbar for the procedure name ? Because the information about the current command under the cursor certainly won't fit anymore then.
+1
It's a big problem for me too (being lost in large procedures).
But hey, we have the "procedures-panel" on the right/left side of the PB-IDE. But bad luck, the panel works only in one direction. You can click on an entry and the cursor in the sourcecode will be set to the first line of this procedure.
But if you move the cursor into another procedure the highlighted entry in the procedurepanel will not follow.
In other RAD-IDEs such navigation panels allways show the current procedure.
I just discovered another reason for the IDE to show which procedure I'm in. I was doing a repeated F3 keypress to find all occurrences of a variable, because I needed to find a certain procedure it was in. So after each F3 keypress, I had to stop and scroll up to see if I was in the procedure I was looking for. If the IDE showed it somewhere, I could just hit F3 over and over while watching the statusbar (or wherever) to see when I reached it.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.