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.
Reproducible. If in a project a ruby file is inside a folder which is not source or test => the run menu shows run/debug as disabled and test/debug as enabled. This doesn't make sense, as there is no reason to assume that a file outside of the mentioned folders is necessarily a test; run and test should be either both or none enabled.
I have an additional source root 'lib-tools' in my project. Everything/everywhere is enabled for me. Could you specify in more detail the setup of your project and exactly which menu items do you mean (main, context menu, ...). Thanks.
Instructions: - switch to "file" view - create a folder, but don't mark it as a source/test - create a ruby file - menu: run->run file --> only test related items are enabled! as the description you gave me, your lib-tools is a _source_ folder.
I took a snapshot of the screen: http://www.flickr.com/photos/24300703@N06/2301540097/sizes/o/ Saverio
I see, thanks for details. Technically, very likely the same as issue 91402. But in this case we could detect that file belongs to the project and thus having the project-context. Will have to explore. Probably tweaking something like FOQI (note for me).
Confirmed in the code, that we are only iterating sources which are mapped in the project properties, lib, test, ... by default. I can get to this after I get back from vacation. I'm not sure whether there will not be more important task after I get back. But hopefully will do this for 6.5.
The fix for issue 91402 handles this case too.