Giter Site home page Giter Site logo

brackets-livedev2's People

Contributors

busykai avatar dangoor avatar njx avatar redmunds avatar sebaslv avatar shahabl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

brackets-livedev2's Issues

Add support for embedded JS

Live editing of embedded JS is not propagating any changes to the live page. It could reload the page as when editing external JS files after saving the .html file.

[DISCUSSION] Landing livedev2 in Brackets

This is a follow up to this @redmunds and @sebaslv discussion here. We need to figure out how we want to land this extension in the mainstream Brackets. While everybody's busy with the 1.0 release, @sebaslv and I could start working on actually landing the extension in the editor. We have to agree on which of the options is the way we want to go. There are a few options as I see them:

  1. Keep the extension completely separate and make it a drop-in replacement.
  2. Integrate it as an extension (could be a sub-module or copied code).
  3. Copy the code next to existing LiveDevelopment. In a sense, this code will cease to be an extension and will be an optional (experimental?) version of LD. The users would switch between them (via UI or prefs), depending on what they want to use it for.

I like the 3rd option the best -- it puts this implementation on par with the existing one and allows us to reorganize the existing LD code to share it more efficiently. Also, it will make our lives easier when later we would want to make this version the "mainstream" one.

There's also some code which has not been contributed yet because we don't have a decision. E.g. browser launch (we have implementation for Firefox and Chrome in JS, in Brackets it's done via shell for Chrome only), enabling live development on remote machines (there's some demand for that in Brackets as well, requires changes in core editor). Let's discuss what's the best approach to this.

@dangoor, @redmunds, @njx, @sebaslv. Anybody I'm missing?

Background color not updated correctly

Following up on issue #21, which uses the Brackets Smoke Tests files edited to access desktop.css using a <link> instead of @import then it (partially) works:

Notice in Step 39 of Smoke Tests that background color is repainted, but it's repainted over the images!

I'm using latest Firefox on Win7.

Mechanism for adding protocol handlers methods

There is a unique handler in ProtocolHandler at LiveDevProtocolRemote that parses the message to identify the method and do something there. Need a more extensible way of registering new methods and provide their implementations separately from this handler.

Doesn't work in Internet Explorer

Initial page loads, but almost nothing else works in IE. I'm using Version 11.0.9600.17239 on Win7.

IE does not update even after saving page in Brackets. Interesting that if you Reload page from IE it pickups changes -- even unsaved changes in Brackets! So, it seems like text is getting updated in browser, but browser is not refreshing.

Close/restart session not working

Lightning bolt doesn't turn off when browser preview is closed. Haven't thought through how we should indicate in the UI when multiple browser clients are active, and whether we should turn the lightning bolt off when the last one disconnects.

Instrumentation fails after page reload

It is manifested when the current file in the editor is not the live HTML document (eg. a related JS file).

HTMLIntrsumentation.generateInstrumentedHTML throws an exception at line 756 because editor=null. When the page is reloaded, the server asks for the instrumented document but at that time the editor seems to be previously detached by LiveDocument._onActiveEditorChange and LiveDocument._close

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.