Colour-coded variables and tooltips for troubleshooting.
This version introduces the new Calculation parser, which enables significant enhancements to how the formula is parsed and displayed:
Syntax highlighting to enable specific custom formatting for different token types, e.g. variable, operator, etc.
Tooltips on hovering a token to provide further information, e.g. token type, name, config
Localised error markers - highlight a specific character/token causing an error, rather than the entire expression, with custom error messages
Custom actions for particular tokens, e.g. on right-click
Token Formatting
Each token type is given a corresponding colour so they are visually different within the calculation window.
Token Type |
|
Variable |
|
Unknown |
|
Number |
|
Function |
|
Invalid Function |
|
Keyword (null, undefined) |
|
System Variable (ts, interval) |
|
Operator |
|
Illegal Operator |
|
Comment |
|