Beckhoff#Let’t try STweep

This article introduces ST Code Formater STweep, such as TwinCAT3 and Codesys, which can maintain high code quality standards for ST Codes without Format uniformity.

Let’s get started!

STweep

STweep is a structured text source code formatter, available as a plugin in IDEs such as TwinCAT and Codesys.

Many companies already use STweep to maintain high code quality standards. For example:

Why STWeep?

So what are the benefits of using STWeep?

Functionality

It’s a waste of time to spend on keeping your source code clean – with the STweep formatter you can keep your source code clean in one fell swoop.

IDE integrated

STweep is available as a plug-in for IDEs such as CODESYS, e!Cockpit, ABB Automation Builder and TwinCAT, so there is no need for troublesome Import and Export operations.

Supported IDE’s

To use STweep with TwinCAT3, the following requirements are required. Older versions are also supported, but there is no official Support.

  • Microsoft Visual studio 2017 community or higher
  • TwinCAT XAE Shell 15.0.28010.2050 D15.8.
  • Windows 7 with .NET framework 4.7.2 or higher.
  • Windows 10 with .NET framework 4.7.2 or higher.

Download

You can download the Trial Version by accessing the following Link.

https://stweep.onfastspring.com/

Double-click VSIX Insaller and install the Visual Studio version of STWEEP.

Proceed with Install.

Just a second…

Done!

Activate License

Create a TwinCAT3 project from Visual Studio and activate the license under Extensions>STweep>License.

The screen changes to the STweep licence screen.

Accept the license.

It is also possible to activate the licence Online or Offline, so I have the licence code at hand, so I can proceed with Activate Online and enter the licence Code to complete the process.

Configure your Own STweep

STweep can be customized at Extensions>STweep>Options.

The STweep Options settings screen appears, allowing you to set the code style according to your preferences. Having a consistent code style throughout a project improves code quality and makes it easier for teams to work together.

Try it!

Finally, try the STWeep feature. Dumb me can’t keep the code style consistent and it’s quite hard to see.

As shown in the diagram below, if you right-click on an empty space in the TwinCAT3 Editor>Format Code, the code style will automatically be unified as set by the STweep Options!

Footer_Basic

Please Support some devices for my blog

Amazon Gift List

Find ME

Twitter:@3threes2
Email:soup01threes*gmail.com (* to @)
YoutubeChannel:https://www.youtube.com/channel/UCQ3CHGAIXZAbeOC_9mjQiWQ

シェアする

  • このエントリーをはてなブックマークに追加

フォローする