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.
The CSS Styles window should only be shown when editing (X)HTML or CSS files, not when editing JavaScript, Java, XML, ... etc. Though we may want to relax this and show the CSS Styles window for additional files like PHP, JSP, ..., once styling in other project types is supported (see e.g. issue 219542).
To add to this: It's essential that we show the CSS Styles window (+ Rule Editor until we get these combined into 1 window) by default as soon as these file types are opened/get focus in the editor. It's a tool that should be available the moment the user wants to start working with these file types. If the user closes the window, we'll respect that and not try to keep automatically reopening it (not that we would, mentioning it just to be thorough :-) ).
I'm afraid this is mine as the merged component will be in css.visual once I merge RE+CSSStyles
fixed in web-main#9cf75a690cb3
Integrated into 'main-golden', will be available in build *201210250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/9cf75a690cb3 User: Marek Fukala <mfukala@netbeans.org> Log: #220193 - the CSS Styles + Rule Editor window should be merged into 1, #220437 - CSS Styles Window should be hidden when editing other file than HTML or CSS