Easily specify command line arguments and JVM options.
- Dominant language
- Java
- Stars
- 3.1k
- Forks
- 935
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 17
Description
### Description
Facility to supply command line arguments and JVM options immediately before running a Java program from Netbeans.
### Use case/motivation
Using Maven (but I suppose this is an issue for other build tools too) to build and run Java, the command line parameters and VM options of a runnable project cannot easily be specified before the instance is started.
While this can currently be done, it is a tedious procedure that is buried away in configurations, involves un-intuitive work-arounds, and may in some cases (unknown to me at the time of this writing) impose impossible barriers to conducting effective tests of functionality from the IDE because instances may have to be started more than once to get everything right.
Hence, I suggest that the IDE be equipped with a menu item ("Run with arguments...") in the context menu that appears when project is selected. Selecting this option would afford the developer with an opportunity to supply arguments and VM options at an appropriate time - just prior to the program is being run.
I hope this description has been adequate for someone to implement. Thank you.
### Related issues
_No response_
### Are you willing to submit a pull request?
No
Contributor guide
Research direction
Start by tracing the Maven runnable-project flow and the project context-menu actions described in the issue. Determine where a "Run with arguments..." action could collect command-line arguments and JVM options immediately before launch. Done means the action supports both inputs and passes them to the Java program at startup.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- desktop, developer-experience
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100