Why does SQL Developer update Oracle Data Dictionaries while SQL*Plus does not?
SQL Developer automatically sets the below:

alter session set plscope_settings='IDENTIFIERS:ALL';


You can use the same in SQL*Plus.

(The default is IDENTIFIERS:NONE.)