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.
Summary: | F9 to compile file is not working when focus in on editor | ||
---|---|---|---|
Product: | java | Reporter: | ecerichter |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.3 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
IDE log
Project compile configurations Project build configurations Context menu is correct Context menu not show Compile option! |
Description
ecerichter
2012-10-20 00:03:14 UTC
Created attachment 126222 [details]
IDE log
Still not working on night build 201210210002. This works fine for me in current dev build. Just for check: Is the compile on save enabled or disabled? If it's enabled, is the Compile File menu item in context menu (for give file) enabled? Created attachment 126562 [details]
Project compile configurations
Created attachment 126563 [details]
Project build configurations
Perhaps, may be because I'm imported project previous settings? I'll give a try starting from empty configuration. Created attachment 126564 [details]
Context menu is correct
(In reply to comment #6) > Perhaps, may be because I'm imported project previous settings? > I'll give a try starting from empty configuration. Tried with brand new config dir, without success. My startup parameters are (I do use custom garbage collector, and a different locale than my OS): netbeans_default_options="--locale en:US -J-client -J-XX:+UseParNewGC -J-XX:+UseConcMarkSweepGC -J-Xss2m -J-Xms32m -J-XX:PermSize=96m -J-XX:MaxPermSize=600m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true -J-Dsun.awt.disableMixing=true -J-Dnetbeans.extbrowser.manual_chrome_plugin_install=yes" Created attachment 126569 [details]
Context menu not show Compile option!
Here we have a problem.
When right click file in Project window, context menu shows Compile option.
When right click the editor, the Compile option is not shown.
Editor's context menu does not contain "Compile File" menu item (it's as designed). Pressing F9 in editor has no effect (it's disabled in "Run" submenu of the main menu) iff you have "Compile on Save" option turned on for the given project. If it still does not work for you please reopen the issue. (In reply to comment #10) > Editor's context menu does not contain "Compile File" menu item (it's as > designed). > Pressing F9 in editor has no effect (it's disabled in "Run" submenu of the main > menu) iff you have "Compile on Save" option turned on for the given project. > If it still does not work for you please reopen the issue. If you look carefully in the screenshots provided, you will see that I don't have "Compile on Save" enabled in project properties. Reopening. Regards, Edson Working as expected in night build 201210300001. |