One of the nice features of Eclipse is the Outline View. However, when editing a php file the Outline View doesn't show the class/method hierarchy if class isn't defined first. With Magento 2, namespace and "use" needs to be defined before the class statement.
I use PHPEclipse plugin but Java perspective has the same issue
Not sure if anything can be done, but any suggestions other than using a different IDE is welcomed.