Via the menu item Code Generation ▹ Show Code Preview you can open the dialog for the Code Preview in the tab Code Generation.