show con_name not working in SQLDevelopper
SHOW is a SQL*Plus command, but SQL Developer does support all of the SQL*Plus commands

you run them through the 'script engine' which is done using F5 or the 2nd execution button on the toolbar 

you will need to be on a newer version of SQL Developer as we've vastly increased the amount of SQL*Plus support we offer