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
- 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.
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).
- 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)
- Add declarations for undeclared Functions and Variables.
- Remove declarations for duplicate and unused Functions and Variables.
- Change Declaration types
-
ebo-script: Clean Declarations - Clean all declarations removing unused and adding missing
-
ebo-script: Compact Declarations - Compact declarations onto a single line
-
ebo-script: Expand Declarations - Expand declarations onto individual lines
-
ebo-script: Generate State Diagrams - Creates html file with all the state diagrams.
- uses Mermaid diagramming tool [https://mermaid.js.org/]
- launches the generated file in the default browser
-
ebo-script: Create State Diagram - Create Mermaid mmd file for the current script program.
- uses program lines and goto statements for the state generation.
- fall thru programs should have a comment with the word
fallthru
- see Mermaid diagramming tool [https://mermaid.js.org/]
- fix bug in string escape sequences used in print statements
- added initial support for some infinet programming features.
- misc fixes
- bug fixes.
- updated clean declarations for expanded declarations.
- grouped by input, output, function, locals
- group sorted by name
- allows comments
- bug fixes.
- initial update for added language features.
- added command
ebo-script: Create State Diagram
- added command
ebo-script: Generate State Diagrams
for generating mermaid state diagrams - added support missing reserved values: FlashEmpty BackupNow BackupNeeded
- fix added support logical operators - & (and), ! (or)
- formatting normalize newlines - remove \r\n
- formatting normalize spaces - remove tabs
- fix basedon goto's were not incrementing references
- misc fixes for arguments in script functions
- misc fixes for arguments in script functions
- fix for numbers with %
- fix for decimal numbers starting with .
- error checking
- parsing
- refactoring
- function fixes
- fix for numbers with %
- minor updates
- rewrite checker for better errors
- formatting fixes for unary +/- and Error line E:
- added ebo.json config file support
- fix snippet for case
- added snippets for declarations
- improve variable list command
- fix system function parse error
- added commands for file list and variable list
- added checking of entire folder
- added settings for declaration formatting
- minor fixes
- minor fixes
- added new commands
- minor fixes
- added code fixes for declaration errors
- added code fixes to change declaration types
- better formatting.
- additional error checking
- additional error checking
- misc bug fixes
- added line continuations.
- misc bug fixes
- Initial release.