Interactive conditional compilation
Posted: Sun Oct 30, 2016 2:31 pm
Hi. The idea is to extend/adopt code folding functionality allowing it to affect compiler input.
There is a way to hide code blocks using ;{ and ;} for example, would be nice to have also ability of including/excluding such regions of code to compiler input.
That would be very useful in debugging, as it is much more reliable than redefining conditional compilation constants/conditions everytime manually. Also It should be made as session-only feature (like debugger breakpoints: without storing settings).
There is a way to hide code blocks using ;{ and ;} for example, would be nice to have also ability of including/excluding such regions of code to compiler input.
That would be very useful in debugging, as it is much more reliable than redefining conditional compilation constants/conditions everytime manually. Also It should be made as session-only feature (like debugger breakpoints: without storing settings).
Code: Select all
;{ Some code }
Define A
;{ Code part 1 }
; doing something with A
While Not A
A-~A
Wend
;}
Debug A
;}