This preview release of the "ebo-script" extension adds support for schneider electric ecostruxure building operation scripting language.
Extensions
.ebosf - script function
.ebosp - script program
Capabilities
Syntax highlighting
Bracket matching
Code snippets
Hover definitions
Limited hints, warnings, and errors
Limited formatting
Code fixes
Commands
Fallthru programs with multiple lines should have a comment line with fallthru to prevent warnings of unreferenced lines.
Limited formatting
Formatting is for the whole document. Trims trailing spaces. Does indentations, fixed at 2 spaces. Increases on lines and control statements loops, if - endif. Adds spacing on operator expressions (-,+,*,/, ..etc).
Limited hints, warnings, and errors
Duplicate declarations (error)
Unused declarations (hint)
Undeclared variables or functions (error)
Line statements that are not referenced (warning)
Goto calls to non-existing lines (error)
Code Fixes
Add declarations for undeclared Functions and Variables.
Remove declarations for duplicate and unused Functions and Variables.
Change Declaration types
Commands
ebo-script: Clean Declarations - Clean all declarations removing unused and adding missing
ebo-script: Compact Declarations - Compact declarations onto a single line