Demo of VSCode TIA Projects addon - Mendix Forum

Demo of VSCode TIA Projects addon

0

I've now created a Demo of a addon for TIA Portal project files to VSCode / SimaticAX.

 

Check out (marketplace.visualstudio.com/items?itemName=jfk-solutions.simatic-ax-tia-projects-addon)

 

At the Moment, it opens TIA Portal project Files (*.ap*, *.al*) or also Zipped Projects (*.zip, *.zap*, *.zal*).

At the Moment you can only view images in the Project, but there is more to come.

 

Here a Demo (www.youtube.com/watch?v=lfg1Eunsbnk) of how to use.

 

The Extension starts a Server wich opens the Project files, the server is closed when VSCode is closed. So at the moment it will not work correctly when using multiple VSCode instances and you close then one. But I will fix this in a later version.

 

You need "dotnet" in your path, at the moment it does not yet work in macos, but it will also be fixed.

 

Please leave your comments if this will be usefull, what features you would expect, ....

asked
7 answers

There is also still one problem if you close a VSCode instance, it will kill the server, even if there are other vscode instances running. This is something I still need to fix

Created

Hello Christoph,

maybe better create a github issue?

Questions: 

- wich version of the extension?

- wich OS do you use?

- can you check in taskmanger if the process "dotnet" is started when the extension is started.

 

I don't yet catch any errors from starting the process. This is a todo.

 

Maybe (if you use windows), look in the eventlog if there are any errors generated.

Created

Hi Jochen, looks very useful. Unfortunately, I am getting a "Error: Error: connect ECONNREFUSED 127.0.0.1:5400" when invoking the TIA Project View via the context menu (on a .zap19 file).

Shouldn't be a firewall issue, since its should go via the loopback address..

 

 

Created

Controller Tag Tables and Constants are now supported: (as CSV)

 

Bildschirmfoto 2025-01-12 um 16.36.46.png

Created

Still an open point in my extension is, that I need to start a C# Server wich opens the TIA Projects and extracts the displayed parts, but I've not yet found a good solution when to start and when to kill it. So if you start multiple instances of vscode, if you close one, also the server will be killed...

But I'm looking for a better solution

Created

So, a new version...

 

News:

- Custom View when you click on TIA Projects in File explorer, to open them directly in the "TIA Project View"

Bildschirmfoto 2025-01-07 um 22.56.54.png

 

- Images from TIA Projects work in image preview (without VSCode fixes (only SVG's are not yet supported by image preview)

Bildschirmfoto 2025-01-07 um 22.57.46.png

 

- Scripts & Screens form WinCC Advanced, WinCC Prof and unified Projects

 

Bildschirmfoto 2025-01-07 um 22.59.45.png

Created

MacOS should now also work...

 

The image preview needs fixes in vscode (github.com/microsoft/vscode/pull/237222)!

Created