When I insert a new record to a table, I have the option "show SQL", above the visual stuff, I can see my sql "INSERT INTO....". This option is really needed for creating a table too. That I can copy it inside the visual stuff where I can create a new table. It should be also available for functions and views too.
P.S. Here you can see an example how 0xDBE does it from JetBrains:
forget it for functions and view, because I think it doesn't make sense in this context. So only or tables.
only FOR tables I mean.
I'm working on a feature to show the SQL for a table when you right click on it and choose "View DDL/SQL". Then you got a little dialog, like the ShowSQLDialog where your Create Table SQL statement is inside. This is not sooo related to this bug but it helps to grab the structure without using "grab structure" save the file, and recreate a table to got the sql.
*** This bug has been marked as a duplicate of bug 154177 ***