PDA

View Full Version : Sideline Markers to "pair" the IF and ENDIF commands



Kodiak
- 24th December 2013, 02:41
I intend to use quite some If-Then and If Then Endif commands.
But sometimes it is hard to keep a right view on things when you don't see which IF commands stands alone and which IF commands are closed with an Endif, and if so, Which Endif in that manner.

Would it be an idea to mark an IF command (when clicking on the specific line) along with its closing Endif command?

It would make things so much more clear. :-)

Demon
- 24th December 2013, 02:52
Good idea, but that is out of PBP's hands. It's something that could be handled by whatever IDE you use: Microcode Studio, Fineline, etc.

Robert

HenrikOlsson
- 24th December 2013, 07:15
Hi,
FineLine IDE already does exactly that and I'm 99.9% sure MPLABX does too.
"Bracketing" (ie matching IF/ENDIF, FOR/NEXT, WHILE/WEND etc), code folding and source level debugging is what's missing in MicroCode Studio IMHO.

/Henrik.

pedja089
- 24th December 2013, 09:01
I'm using MPLABX, code folding, TODO markers, etc still doesn't work for PBP3...
Or am I missing something :confused:

HenrikOlsson
- 24th December 2013, 09:49
No, since you're using it and I'm not it's most likely ME who's missing something.
That makes source level debugging pretty much the only reason for using it (MPLABX) with PBP then.