I first will tell you what I already did.
-----------------------------------------------------------------------------------------------------
How to use Visual Studio Code to write C++ for PLCnext - PLCnext Community This example shows how to create PLCnext Component libraries with Visual Studio Code. The project layout should be capable of handling multiple PLCnext SDK versions and different controller targets. The example is hosted on GitHub and can be downloaded from the GitHub repository. This example was made with the following software: Ubuntu 18.04.02 LTS as development […]
- I installed an linux distribution Debian 12.10.0 and I’m using it on the VM Ware.
- I installed VS Code with the following extentions
- C/C++ Extension Pack
- CMake
- CMake Tools
- XML Tools
- I installed the Toolchain: PLCnext_Toolchain_2024.0-LTS.sh (151 MB)
- was running the .sh file and can now use the plcncli functionality
- After that I installed the SDK: axcf2152-linux_sdk-2024.0.0_LTS-24.0.0.102.sh (332 MB)
- I extracted this to the desired folder.
Now I was getting stuck what to do next. I tried to follow this page:
I did made the plcncli command:
plcncli new project -n MyLibrary -c MyComponent -p MyProgram -s ExampleA13b.MyLibrary -o libs/MyLibrary
This did generated some files and folders but it seems that there are also missing files. It was for example also reffering to the following file ./vscode/settings.json but it not there.
-----------------------------------------------------------------------------------------------------
My question
How should I setup VSCode in linux environment. Is there a better manual instruction for this?
