This worked for me:
- In SQL Developer, right click the object that you want to generate a script for. i.e. the table name
- Select Quick DLL > Save To File
- This will then write the create statement to an external sql file.
Note, you can also highlight multiple objects at the same time, so you could generate one script that contains create statements for all tables within the database.