mbien commented on PR #7081:
URL: https://github.com/apache/netbeans/pull/7081#issuecomment-4010915905

   > replacement of the existing macOS Show in Finder action.
   
   I don't really know what the special case is. OSes maintain a set of default 
applications for file types and paths. Opening a path on cinnamon will open it 
with nemo (which is a fork of nautilus), on windows it will open the file 
explorer - I assumed it would open the finder on mac? (my last mac was a while 
ago, I don't remember those details anymore)
   
   The main difference is in the open vs browse action, e.g should html be 
opened in a system text editor or the browser. So I don't know the difference 
between `desktop.open("/tmp")` and `$ finder /tmp` - i always assumed it would 
have the same result.
   
   What OSes can also do is to open files in file browsers and pre-select them 
on open. Both impls don't do that atm as far as i see. (`$ nemo /tmp/foo.txt`)
   
   I can add an `if (mac) {open it slightly differently}` but I don't know what 
that would be.
   
   > I'm not sure what the object of the Open in Tabs action is?
   
   it is currently only exposed indirectly via drop to editor (and CLI). It 
even works with jars or other things which can be opened. The open-project 
window doesn't let you to that either.
   
   I found that to be useful to open an extra folder for a few tasks, but 
getting there always needed extra steps. (open parent folder than drag to 
editor). Students might find that useful too if they have to work with 
compact-java files or similar things. I discovered it accidentally while 
starting NB via script and setting some paths.


-- 
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