GithubHelp home page GithubHelp logo

fwenzel / fireplay-sublime Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/fireplay-sublime

0.0 2.0 0.0 218 KB

A fantastic plugin connecting your favorite editor with your favorite web debugger

Python 100.00%

fireplay-sublime's Introduction

Fireplay Sublime

ATTENTION: this piece of code is super experimental and can be so radioactive that it could break your Sublime! It's going to be amazing.

The aim is to:

  1. Connect Sublime Text to Firefox Developer tools: live-updates of HTML and CSS, read console logs can be done directly from Sublime without any external tool by connecting to super-powerful RDP (aka Remote Debugging Protocol). This allow us to edit CSS during runtime exactly as the Web Inspector would.

  2. Use Sublime Text to deploy apps for FirefoxOS: while the new Firefox WebIDE is awesome, some developers might want to use their favourite editors.

Installing (for braves on OS X)

  1. Install the plugin
$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages
$ git clone https://github.com/mozilla/fireplay-sublime fireplay
  1. In Firefox about:config set devtools.debugger.remote-enabled to true

Usage

Usage instruction are even more experimental and will be soon simplified.

Usage (long way but safer)

  1. Open browser and shift+F2 and type listen
  2. Run cmd+shift+p
  3. In Sublime select Fireplay and follow the instruction

Usage (short way but less safe)

  1. In Firefox about:config set devtools.debugger.prompt-connection to false

Usage for Firefox OS

  1. Open WebIDE or App Manager and run the simulator
  2. Find the port of the simulator and save it into your settings
  3. Run cmd+shift+p
  4. In Sublime select Fireplay and follow the instruction

Inspirations

Existing projects and libraries to explore

Change UI in real time

Deploy from command line

Ideas

  • Remote style editor (start there, probably performance issues, gotta work around that)
  • Binding Sublime console

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.