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.
1. Create a Maven web project 2. Create file myfile.html under docroot 3. Change browser to Chrome with NetBeans integration 4. Run this file - it will be open in the browser 5. Turn on inspect mode in browser and select some element => The expectation is that myfile.html will be open in the editor, and the navigator will display this file (merged with the live DOM), but that's not the case (unless the file is already open and in the front).
Created attachment 132848 [details] Patch for this issue + additional defensive checks
The patch looks fine to me, I'll integrate it during the next few hours. I guess you have already tested it, right?
Integrated in: web-main #2249a95cd0b7
Integrated into 'main-golden', will be available in build *201303222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/2249a95cd0b7 User: Martin Janicek <mjanicek@netbeans.org> Log: #227726 - Visual CSS editor does not correctly find files other than index.html