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
         provides access to a menu that lists available actions.
 provides access to a menu that lists available actions. 
Messages
 list of the Output
 panel. When Code
      actions are available, a light bulb icon  provides access to a menu that lists available actions.
 provides access to a menu that lists available actions. In the  appears beside code actions available for the DSL code. Select
 appears beside code actions available for the DSL code. Select  to display a menu that lists available operations.
 to display a menu that lists available operations.
Code Editor
, the light bulb icon  appears beside code actions available for the DSL code. Select
 appears beside code actions available for the DSL code. Select  to display a menu that lists available operations.
 to display a menu that lists available operations.In the  appears at the right edge of the
 appears at the right edge of the  to display a menu that lists the available operations.
 to display a menu that lists the available operations.
Messages
 list of the Output
 panel, the light bulb icon  appears at the right edge of 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.
 to display a menu that lists the available operations.Provide Feedback