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.

Bug 229317

Summary: Promote the workflow of saving changes from Chrome DevTools to the IDE in the user interface
Product: ide Reporter: Petr Jiricka <pjiricka>
Component: ExtbrowserAssignee: issues@web <issues>
Status: RESOLVED FIXED    
Severity: normal CC: dkonecny, jstola
Priority: P2    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 229313    

Description Petr Jiricka 2013-05-03 11:20:55 UTC
1. Create a new HTML5 project, e.g. using the Initializr Responsive template
2. Run this project in Chrome with NetBeans integration
3. Open Chrome Developer Tools

=> Browser window pops up saying that "NetBeans IDE has disconnected from Chrome", warning the user that integration with NetBeans is disabled. This is incorrect and the tone of this text needs to be changed, because:

4. In CDT, select some element, like the H1 label.
5. On the right in the '.main article h1' rule, add font-style: italic;
6. Go back to the IDE and open css/main.css - you see that this change was reflected in the source.

So when the user opens CDT, the IDE should educate them about this possible workflow.

Additionally, it may be a good idea to alert the user about all the changes that were imported to the IDE from CDT this way; how about for example using the new Notifications window for this?
Comment 1 Petr Jiricka 2013-05-30 20:54:15 UTC
An additional aspect of this issue is that when the user opens CDT, the NetBeans icon in the address bar disappears. Is that correct? We may want to keep it there to make it clear that the IDE is still in the loop, and that it continues to interact with Chrome.

Though we need to be careful about the Inspect in NetBeans Mode, which will be non-functional when the debugging protocol is disconnected from the IDE, see also bug 230551.
Comment 2 David Konecny 2013-05-30 21:40:54 UTC
(In reply to comment #1)
> An additional aspect of this issue is that when the user opens CDT, the
> NetBeans icon in the address bar disappears. Is that correct? We may want to
> keep it there to make it clear that the IDE is still in the loop, and that it
> continues to interact with Chrome.

+1. The icon indicates that there is still a link between IDE and refresh on save works and making changes in CDT will be propagated back to the IDE.
Comment 3 Petr Jiricka 2013-05-31 20:16:19 UTC
Cc'ing Honza, who can address the NetBeans icon aspect.
Comment 4 Petr Jiricka 2013-07-17 12:26:40 UTC
This issue was addressed over time by other fixes in this area, so I think it can now be considered resolved.