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.
Found when trying to reproduce issue 102853. 1. Create a new JavaScript file 2. Choose Run -> Run File -> Run "myfile.js" The action is enabled, but does nothing. It should either do something, or remain disabled.
The "Run File" action is managed by the project system, not the editor. It's up to each project type to enable/disable this action based on whether they can do something about the file type. In a Rails project, Run File is disabled for JavaScript files. Since it was enabled for you, I assume you were looking at a web project? If so, the web project should disable it (or better yet, do something useful; for example, if possible, compute a URL for one of the JSPs which includes this JavaScript file, and ask the browser to show it).
> I assume you were looking at a web project? No, I was looking at prototype.js from the rails project.
Confirmed, the action is enabled and does nothing.