You can use Path Tools plugin (you have to download it from the site and install by manually adding it in downloaded section in NetBeans plugin menu)
There is also more recent plugin QuickOpener for newer NetBeans versions.
Other nice plugin that offers this functionality is CoolEditorActions, available through update center in Infrastuture
category.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…