This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
on the Mac, this would open the enclosing folder in the Finder and select the file. This feature has been around for years in other IDEs.
sounds like an RFE.
Not related to Explorer API.
In general there would be possibility to open a file from IDE in any external tool. I am passing it back to explorer because it is probably the place where the code should reside - sorry Tomasi, please feel free to reassign to any reasonable component. Thanks.
I would create a context aware action (watching for DataObject) and registered it into UI/ToolActions folder, if I knew how to open Finder on Mac. Passing to Tim who is more likely to find way to deal with Finder. The action shall be in applemenu module.
At a shell prompt: open /path/to/dir
Yes, Runtime.exec("open ${folder}") should do the job. The question is where to put the code?
Fixed jet-main e8f8f5755e7a All files providing DO have Tools/Show in Finder action.
Thanks a lot, Tomáši! Your use of scripting API to talk to Mac OS X OS is really inspiring.
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/e8f8f5755e7a User: Tomas Zezula <tzezula@netbeans.org> Log: #139003:Contextual menus on nodes should offer "Show File" on MacOSX