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 issue is inspired by issue 221174. When a file is not executed then the Selection section of CSS Styles view shows a hint to execute the file in the browser with NetBeans integration. This hit is misleading when the HTML file is from Java or Web project. There is no action that can be performed on these files to make Selection view usable. Hence, we shouldn't show it. I assume that this cannot be solved without some API changes that allow the view to provide some information about the supported files/projects.
implemented in web-main#686842c36716 just "say no" in CssStylesPanelProvider.providesContentFor(FileObject file) if the file is a bad one.
Integrated into 'main-golden', will be available in build *201211020001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/686842c36716 User: Marek Fukala <mfukala@netbeans.org> Log: #221263 - Do not show Selection section of CSS Styles view for files that it doesn't support
Integrated into 'releases', will be available in build *201211052012* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/5b5e82232bfa User: Marek Fukala <mfukala@netbeans.org> Log: #221263 - Do not show Selection section of CSS Styles view for files that it doesn't support (transplanted from 686842c3671676fa9087eab32d42b6655b3a13f2)