Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SyntaxColoring.AutoCompleteVariables.SetLocals

Sets the initial list of local variables.

Component Version macOS Windows Linux Server iOS SDK
SyntaxColoring 14.4 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "SyntaxColoring.AutoCompleteVariables.SetLocals"; List )   More

Parameters

Parameter Description Example
List The list of variable names. "error¶param"

Result

Returns OK or error.

Description

Sets the initial list of local variables.
Put here variables names, which should always show up in auto complete.

This function allows you to pre-populate the list for local variables for auto complete on start of your solution.
See also SyntaxColoring.AutoCompleteVariables.SetGlobals.

Examples

Add error to the list of local variables:

Set Variable [ $r; Value: MBS("SyntaxColoring.AutoCompleteVariables.SetLocals"; "error")]

See also

Release notes

Blog Entries

This function is free to use.

Created 24th August 2024, last changed 24th August 2024


SyntaxColoring.AutoCompleteVariables.SetGlobals - SyntaxColoring.CheckVariableDeclaration.Disable