fg71
Visual Studio Code is cross platform IDE to be able to write many different low/high level programming language. There are many extensions or plugins to make things more easy or more efficient for the working flow of programming.
If I heard correct the OpenPLC v4 will support syntax highlight for Structured text or for all text based language.
Same goes for Arduino extension that use C/C++ Arduino API.
 
It would be powerful or useful to be able to use extern IDE for OpenPLC v4. In other words to use Visual Studio Code editor to update the text based plc program. The screenshot below show a extension for Visual Studio Code for Structured text. There is almost 47000 downloads so I guess its robust. 🙂
 
[203128%2F9235904%2Fmceclip0]
Reply 0 0
thiagoralves
The new editor uses Monaco (which VSCode is based on) for the text editors. It already comes with syntax highlighting, smart auto complete, etc... Try the new 4.0.1-beta and you'll see how good it is 🙂
Reply 1 0
fg71
 
I checked the new version of OpenPLC 4.0.1-beta and it looks like it keywords do not use uppercase letters for Structured text.
I also find out that semicolon is removed rom ex. END_IF
 
You should check-out the extension from Visual Studio Code, its very code I think.
Reply 0 0
Reply