LibreOffice Basic IDE will add a closing parenthesis “)” each time you type an opening parenthesis “(“. Autoclose parenthesisĪutomatically close open parenthesis. Handy for inserting strings in the Basic code. LibreOffice Basic IDE will add a closing quote each time you type an opening quote.
Autoclose quotesĪutomatically close open quotes. īasic keywords are also automatically corrected (the list of the keywords is grabbed out from the parser). For example, when aVar.aMeth is typed, it will cycle through aMeth1, aMethod2, aMethod3 entries, and other entries are not hidden.Īnd when writing Intvar, will be corrected to intVar to match the case existing in the declaration of intVar. When typing the method's name, and pressing the Tab key once, it will complete the selected entry, pressing the Tab key again will cycle through the matches with the longest prefix. To cancel the list box, press the Esc key. To insert the selected entry, press the Enter key or double click on it with the mouse. You can navigate between the suggested methods and variables with the arrow keys.
Its methods and variables are listed in the list box, displayed just below. When a variable is a UNO interface or structure, a list box appears when pressing the dot after a variable's name (like aVar. Its does not work on a generic Object or Variant Basic types.
Code completion will display the methods of a Basic object, provided the object is a UNO extended type. Enable code completionĭisplay methods of a Basic object. This feature helps the Basic programmer to complete the code, saves extensive typing and helps to reduce coding errors. Choose LibreOffice - Preferences Tools - Options - LibreOffice - Basic IDE.