apache / apache/netbeans

Mac OS "Open With" does not open the files

Open
#4,005 5 comments 0 reactions 0 assignees View on GitHub
kind:feature os:macos
Dominant language
Java
Stars
3.1k
Forks
935
Avg merge
2d 3h
Merged PRs (30d)
17

Description

### Description

On Mac OS, Netbeans does not support opening files by double clicking or right clicking (Open With). Also, terminal commands like `open foo.java -a /Applications/NetBeans/Apache\ NetBeans\ 13.app/` would open Netbeans but the file itself once started.

As there has been work recently on a [native Swift launcher](https://github.com/apache/netbeans/pull/2563) I wonder if that would make it easier to implement this one.

Thank you!

### Use case/motivation

Opening files from Finder would make Netbeans more convenient to use.

### Related issues

I know this was discussed [previously](https://bz.apache.org/netbeans/show_bug.cgi?id=138943) but I couldn't locate a recent GH issue about it.

### Are you willing to submit a PR?

- [ ] Yes I am willing to submit a PR!

### Code of Conduct

- [X] I agree to follow the Apache Software Foundation's [Code of Conduct](https://www.apache.org/foundation/policies/conduct.html)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the native Swift launcher work in pull request #2563 and the related issue linked from the report. Confirm how Finder's Open With, double-clicking, and the terminal open command are handled, and consider the work done when each opens the selected file in NetBeans.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, macos, swift
Domain
desktop
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.