[https://help.libreoffice.org/Basic/Using_Variables#Naming_Conventions_for_Variable_Identifiers Naming Conventions for Variable Identifiers] states that “In LibreOffice Basic variable identifiers are not case-sensitive”. LibreOffice Basic should remain as not case-sensitive.
Once a variable is defined (eg with Dim statement), typing the variable later in the code will automatically change to the variable case defined in the Dim statement.
Having the statement:
Dim myIntegerVariable As Integer
And typing the following line
myintegervariable = myintegervariable + 5
Would change to
myIntegerVariable = myIntegerVariable + 5
If the variable case is changed in the Dim statement, all references to the variable in the code should automatically update.
In example shown above, if the Dim statement is changed to:
Dim MYiNTEGERvARIABLE As Integer
the statements with that variable will automatically refactor:
MYiNTEGERvARIABLE = MYiNTEGERvARIABLE + 5