neilcsmith-net commented on PR #7081:
URL: https://github.com/apache/netbeans/pull/7081#issuecomment-4011863008

   If you want to pursue this change here instead, then please include the 
removal of the macOS action and the new shortcut.
   
   These actions might need to work with a set of `FileObject` instead of 
`File`.  I've just realised something I'd missed in the finder action - it 
tests if the file is in an archive and opens the location of the archive file 
instead.  That needs to be replicated too.
   
   > But I haven't tested on more mainstream linux distros like ubuntu yet.
   
   Not that I can tell from testing this already.  And it doesn't look like 
it's in the Wayland support either.  Calling an external process might be the 
only way to achieve this.  Workarounds listed elsewhere include `explorer.exe 
/SELECT` for Windows.  On Linux, there doesn't seem to be anything in xdg-tools 
that will do this, or in xdg portals.  Which leaves maybe dbus.
   
   > I think it fits well into the category of open actions, one opens the path 
using a OS tool, the other using NB.
   
   I'm partly concerned about bypassing the existing open support, and I also 
think that it makes sense for folders and archives to have an `Open in New Tab` 
at the top of the menu similar to other files, and project folders.  I realise 
that is slightly different to what you're proposing, just think it's more 
obvious what it is and where to find it.
   
   Can we split the two changes for now?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to