Back when I was in University I preferred NetBeans for Java development. I recently took University of Finland’s free Java MOOCs and that also happens to be the IDE their code-checking tools use. So I’m used to NetBeans’ quirks and prefer to continue to use it.
As stated above, I recently did the UoF Java MOOCs and I still have their modified Netbeans v8.0.2 installed (Netbeans with TMC 0.8.18).
The next step in the official docs says for Eclipse just run
gradlew eclipse so I tried
gradlew netbeans . . . no go.
(Thanks to this awesome post: http://epik.org.uk/effortless-minecraft-forge-with-netbeans/)
Open Netbeans, Tools -> Plugins. Available Plugins tab, search for ‘gradle”. I see two: Gradle JavaEE Support (last updated 12/26/14) and Gradle Support (last updated 1/9/16).
I chose the latter since it’s been updated in the last 6 months (just barely). It also wanted to install “Groovy and Grails”.
After restarting Netbeans, like magic my mod folder could now be opened as a Project.
I right-clicked on the Project and selected Tasks -> run -> runClient and Minecraft started but doesn’t show anything about my completely empty Mod yet. So I did the same with example from Forge and it worked.
Make that a little less tedious: https://blogs.oracle.com/geertjan/entry/seamless_minecraft_forge_in_netbeans
And also a good link to continue.