Go to menu
Show DB Object DDL back | 1 2 3 4 5 6 7 8 | next
The Show Object DDL... right-click menu selection launches a display of the Data Definition Language for the selected object. You can save the displayed DDL text string as an SQL file.

Color coding makes it easier to distinguish statement syntax.