Merge pull request #3315 from philippleidig/extend-st-extensions-twincat

Add TwinCAT file support for structured text (st) language
pull/4065/head
Henning Dieterichs 2 years ago committed by GitHub
commit 5ea17c3f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -10,7 +10,7 @@ declare var require: any;
registerLanguage({
id: 'st',
extensions: ['.st', '.iecst', '.iecplc', '.lc3lib'],
extensions: ['.st', '.iecst', '.iecplc', '.lc3lib', '.TcPOU', '.TcDUT', '.TcGVL', '.TcIO'],
aliases: ['StructuredText', 'scl', 'stl'],
loader: () => {
if (AMD) {

@ -172,7 +172,8 @@ export const language = <languages.IMonarchLanguage>{
'vendor',
'common_source',
'from',
'extends'
'extends',
'implements'
],
constant: ['false', 'true', 'null'],

Loading…
Cancel
Save