This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
This would be help full for Mac users since the keystroke to close a file and close the application are right next to each other - cmd-w and cmd-q. It would be nice to have an option in the settings to confirm before quitting so that if you accidentally hit the wrong key, you can hit escape and return to the application.
Reassigning to core for evaluation.
afair, there used to be such option. We got rid of it. However it there are unsaved sources the IDE asks if you really want to exit. I'm reassigning it to the UI experts to decide if NB needs such option
We'll see what they say, but I've already hit quit twice accidently in NetBeans. One way to approach it is to default the option to "on" (meaning prompt before quitting), give the user the choice to "Not show this dialog again", and put an option in the settings. This seems to be a good combination of different settings and options. It is how other applications seem to address the issue. Another way to tackle it would be to only prompt if there are files open, otherwise just quit. I'm not a huge fan of this, but I'd live with it.
No reason to implement. AFAIK, to ask only if there are unsaved changes is standard application behavior
I'm not sure why projects are so opposed to implementing features that make user's lives easier. I'll just have to resort to comparing it with better products: "IntelliJ does this exactly how I've described it and it saves major time when I accidently hit CMD+Q instead of CMD+W"
@voidmain I just developed plug-in to support requested behaver it only took 10-mins to finish. I agree with @Ondrej Langr,It is not standard application behavior,But when It come to IDE this feature really helps (both Eclipse -IDEA do support this ). Let me know if it dose not work on 6.9 or etc I'll fix plug-in link http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=33075
Thanks to Anuradha for the plugin. Closing wontfix now.