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.

Bug 139003 - Contextual menus on nodes should offer "Show File" on MacOSX
Summary: Contextual menus on nodes should offer "Show File" on MacOSX
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Data Systems (show other bugs)
Version: 6.x
Hardware: All All
: P4 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 07:45 UTC by daveyost
Modified: 2011-01-06 09:16 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description daveyost 2008-07-04 07:45:43 UTC
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.
Comment 1 Tomas Danek 2008-08-18 18:25:17 UTC
sounds like an RFE.
Comment 2 t_h 2008-10-20 11:15:56 UTC
Not related to Explorer API.
Comment 3 Jaromir Uhrik 2008-10-20 13:54:58 UTC
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.
Comment 4 Jaroslav Tulach 2010-04-02 07:16:44 UTC
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.
Comment 5 daveyost 2010-04-02 09:51:16 UTC
At a shell prompt:
  open /path/to/dir
Comment 6 Tomas Zezula 2010-11-22 17:38:27 UTC
Yes, Runtime.exec("open ${folder}") should do the job.
The question is where to put the code?
Comment 7 Tomas Zezula 2011-01-03 17:27:35 UTC
Fixed jet-main e8f8f5755e7a
All files providing DO have Tools/Show in Finder action.
Comment 8 Jaroslav Tulach 2011-01-04 09:17:09 UTC
Thanks a lot, Tomáši! Your use of scripting API to talk to Mac OS X OS is really inspiring.
Comment 9 Quality Engineering 2011-01-06 09:16:16 UTC
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