- Using the software
- Ladder Editor
- Add-On Instructions
- Instructions
- Instruction set
- Code Editor Domain Specific Language Syntax
Code actions
Code actions in
FactoryTalk Design Studio
provide automated or semi-automated ways to alter the project content in the form of quick fixes for errors, refactoring suggestions, or code formatting adjustments.
IMPORTANT:
When syntax errors exist, code actions may suggest a fix that will correct the current issue detected to make it syntactically correct. But this fix might not result in the code that you intended. Review the updated text in the code editor
Code actions are available from the Code Editor and the Messages list of the Output panel. When Code actions are available, a light bulb icon
provides access to a menu that lists available actions.

In the
appears beside Code actions available for the DSL code. Select
to display a menu that lists available operations.
Code Editor
, the light bulb icon 

In the
appears at the right edge of the Description column when there are Code actions available for an error message. Select
to display a menu that lists the available operations.
Messages
list of the Output
panel, the light bulb icon 

Provide Feedback