mirror of
https://github.com/microsoft/monaco-editor.git
synced 2025-12-22 11:35:40 +01:00
Merge pull request #3315 from philippleidig/extend-st-extensions-twincat
Add TwinCAT file support for structured text (st) language
This commit is contained in:
commit
5ea17c3f59
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ declare var require: any;
|
||||||
|
|
||||||
registerLanguage({
|
registerLanguage({
|
||||||
id: 'st',
|
id: 'st',
|
||||||
extensions: ['.st', '.iecst', '.iecplc', '.lc3lib'],
|
extensions: ['.st', '.iecst', '.iecplc', '.lc3lib', '.TcPOU', '.TcDUT', '.TcGVL', '.TcIO'],
|
||||||
aliases: ['StructuredText', 'scl', 'stl'],
|
aliases: ['StructuredText', 'scl', 'stl'],
|
||||||
loader: () => {
|
loader: () => {
|
||||||
if (AMD) {
|
if (AMD) {
|
||||||
|
|
|
||||||
|
|
@ -172,7 +172,8 @@ export const language = <languages.IMonarchLanguage>{
|
||||||
'vendor',
|
'vendor',
|
||||||
'common_source',
|
'common_source',
|
||||||
'from',
|
'from',
|
||||||
'extends'
|
'extends',
|
||||||
|
'implements'
|
||||||
],
|
],
|
||||||
|
|
||||||
constant: ['false', 'true', 'null'],
|
constant: ['false', 'true', 'null'],
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue