ATOM support for IEC 61131-3 Structured Text and Automation Studio (AS) projects including syntax highlighting, snippets, and auto-completion.
//
, block (* *)
)IF
, ELSE
, CASE
, FOR
, ...)AND
, OR
, <
, >
, +
, -
, ...)PROGRAM
, FUNCTION
, VAR
, TYPE
, ...)'Hello Word!'
16#ff
, 75.0
, T#250ms
strcpy()
System.Parameters
IN_TO_MM
(all uppercase)cm
- Block commentif
- If statementelse
- If else statementelsif
- If, else, elsif statementfor
- For loopcase
- Case statementwhile
- While looprepeat
- Repeat loopfn
- Function definitionfb
- Function block definitionprog
- Program definitionInstall the latest release,
apm install language-as-structured-text
or clone the repository for the latest changes.
git clone https://github.com/tmatijevich/language-as-structured-text.git
Link as a development package with ATOM to make custom changes.
apm link -d
Then run ATOM in development mode.
atom -d
I recommend the following add-on packages for programming in ATOM
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.