Skip to content

A collection of handy shell scripts for Codesys.

License

Notifications You must be signed in to change notification settings

HAHermsen/codesys-tools

 
 

Repository files navigation

Codesys Tools

Here comes a handy collection of scripts to make your everyday life with Codesys a little more comfortable.

Most of them are PowerShell scripts to ensure that they're running smoothly and without preparation on any Windows host.

Important

I am not associated with CODESYS Group, 3S-Smart Software Solutions or any associated software manufacturer or retailer in any form. I have been working with this tools for years and personally find them to be useful.

🔍 Declaration Checker

Checks variable prefixes in code export files according to the Codesys recommendations on Hungarian Notation.

.\check-declarations.ps1 [-Level Info] .\dir1\file1.exp, .\dir2, ...

✏️ Code Formatter

Formats code export files according to common conventions and senseful recommendations.

.\format-code.ps1 .\dir1\file1.exp, .\dir2, ...

🗑️ Temporary Files Remover

Removes all those temporary files left by Codesys or associated tools, which keep cluttering your hard drive. Once you're done working on a feature or a project, this script helps you to find those files and delete them accordingly.

Caution

This tool deletes files. As there's currently no dry-mode implemented, use at your own risk!

.\remove-tmp-files.ps1 [-Recursive] .\project_dir1, .\project_dir2, ...
./remove-tmp-files.sh [-r] ./project_dir

About

A collection of handy shell scripts for Codesys.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 85.0%
  • Shell 15.0%