Code actions

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.
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 action icon provides access to a context menu listing available actions.
In the
Code Editor
, the light bulb icon action icon appears beside Code actions available for the DSL code. Select action icon to display a context menu listing available operations.
In the
Messages
list of the
Output
panel, the light bulb icon action icon appears at the right edge of the Description column when there are Code actions available for an error message. Select action icon to display a menu listing the available operations.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.