Bug? Latest Beta 5

Daestrum

Expert
Licensed User
Longtime User
If you have inline java using
B4X:
#If Java
The IDE generates the closing #End If for you - very nice indeed

If you attempt to add a line directly after the #If Java by putting cursor at end of line then hit return, the IDE generates another #End If

This is not a major problem to delete the extra line, it's the side effect that is bad.

The problem is, after the new #End If is inserted the syntax checker then has access to the java code and proceeds to change all the keywords it finds to B4J casing, ie public -> Public, private -> Private
which is a pain to correct afterwards.
 

stanmiller

Active Member
Licensed User
Longtime User
+1

This has happened to me too. The IDE changes all the casing in the #if Java section.
 
Top