brackets-archive / bracketsIssues

Archive of issues in brackets.
0 stars 0 forks source link

[CLOSED] Enabled the remaining agents #1280

Open core-ai-bot opened 3 years ago

core-ai-bot commented 3 years ago

Issue by jdiehl Thursday Jul 26, 2012 at 06:28 GMT Originally opened as https://github.com/adobe/brackets/pull/1301


Please load the remaining agents for extension usage. Otherwise, there is no way to access this functionality.

Here is what the agents do:

Non of this should be very invasive. If you want to disable all remote functionality (the stuff that happens inside the Chrome life Preview) you should comment out the event listeners from RemoteAgent, instead:

106: Inspector.on("Page.loadEventFired", _onLoadEventFired); 107: Inspector.on("DOM.attributeModified", _onAttributeModified);

The first loads the remote functions into the active page and the second listens to dom changes and creates edit events if appropriate.


jdiehl included the following code: https://github.com/adobe/brackets/pull/1301/commits

core-ai-bot commented 3 years ago

Comment by joelrbrandt Thursday Jul 26, 2012 at 20:25 GMT


@jdiehl after some discussion with the team, we're hoping to enable this in a slightly different way. See #1303.

I incorporated your commit from this pull into #1301, so you'll still get "credit" :-)

Closing.