mcqueccu Expert Licensed User Longtime User Jun 7, 2025 #1 Hello I recently encountered "Unbalanced #End If" issue in one of my big projects where I have to trace all the conditional compilation directives one after the other. I wanted to fold the codes which will be easier for me but I realized collapsing/folding was not available for directives such B4X: #IF B4A #END IF '--------------OR--------------------- #IF FULL #END IF It is only the #REGION that you can collapse or expand
Hello I recently encountered "Unbalanced #End If" issue in one of my big projects where I have to trace all the conditional compilation directives one after the other. I wanted to fold the codes which will be easier for me but I realized collapsing/folding was not available for directives such B4X: #IF B4A #END IF '--------------OR--------------------- #IF FULL #END IF It is only the #REGION that you can collapse or expand
mcqueccu Expert Licensed User Longtime User Jun 7, 2025 #2 Example picture from conditional symbols shows that it should work
Erel B4X founder Staff member Licensed User Longtime User Jun 8, 2025 #3 Excluded code with more than a single line, should be foldable.
mcqueccu Expert Licensed User Longtime User Jun 8, 2025 #4 1. If the Excluded code contains a subroutine, the subroutine can be folded but not the condition itself 2. Sometimes it shows around the #Else part
1. If the Excluded code contains a subroutine, the subroutine can be folded but not the condition itself 2. Sometimes it shows around the #Else part