Formula editor features
An overview of all basic features the formula editor offers as of version 3.6.0
Last updated
An overview of all basic features the formula editor offers as of version 3.6.0
Last updated
At the moment, the new formula editor features are available for the web app (app.ninox.com) as well as the Mac app.
Line numbers are displayed in the left margin of the formula editor window.
Line numbers are always visible by default.
Indents a code block automatically.
Takes your code and prettifies it to conform to a consistent style. Wraps code and adds or removes white space when necessary.
Access the formula editor to format existing code, click OK to leave the editor. The next time you open the formula editor again, this code appears newly formatted.
While you type, a pop-up appears next to the cursor displaying suggestions to complete your script.
To select the first option from the list, press the ENTER
key.
To select another option, use the arrow keys, then confirm your selection with the ENTER
key.
While you type, text is highlighted in different colors.
Syntax | Color |
---|---|
String (text) | |
Keyword | |
Function | |
Built-in value | |
Variable/Table/Field | |
Operator | |
Number | |
Data type |
To trigger syntax highlighting, type an expression.
The current location of the written code is displayed above the formula editor's contents.
The location is displayed automatically.
Displays errors and warnings while you script and suggest corrections.
While you type, gutter line numbers with erroneous code are highlighted and the code itself is underlined in red. To reveal the error message, hover above the line number.
When you make a syntax error, the formula editor only highlights the first error, even when more syntax error follow that first one. This happens because the following script cannot be parsed due to the preceding syntax error. When you make a reference error, the formula editor highlights each error independently of its position in the script. So, when a syntax error precedes a reference error, only the foregoing syntax error is highlighted.
Search and replace text, variables, and expressions within a code block. Works for
Match Whole Word
,
Match Case
, and
Use Regular Expression
.
To search, enter text in the search bar or press CMD+F
(macOS) or Ctrl+F
(Windows).
Highlights corresponding parentheses and automatically completes open parentheses.
To visually locate a parenthesis' match, use the arrow keys to select a parenthesis and highlight its counterpart.
To auto-complete parentheses, type an opening parenthesis.