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.
Created attachment 128796 [details] IDE log file 1. Create a project from the AngularJSPhoneCat sample 2. Make sure index.html is open 3. Run the project, enable select mode in browser 4. Select an element in the browser, Styles window will be populated accordingly 5. Double-click app.css in the Applied Styles section to open it, the CSS Styles window will change to show the structure of app.css 6. Go back to the browser and select an element => I would expect that CSS Styles window will be populated based on this selection again, but the structure for app.css continues to be open. This bug looks similar to issue 217677. I am attaching IDE log file, as it contains some warnings.
I agree this would be better than the current behaviour. I think this should be implemented in web.inspect. To aim the CSS Styles to the wanted file, just do EditorCookie.open() on the file.
Fixed - the inspected html file is opened/moved to front when an element is selected in the browser.
Modified files: http://hg.netbeans.org/web-main/rev/053dcc108316