small-ide

A small browser based IDE


Keywords
IDE
License
Unlicense
Install
bower install small-ide

Documentation

small-ide

A small browser based IDE for web development, featuring a canvas element, a console (with sticky scroll) and an editor.

Developed for Firefox 26, Chrome 31 and Internet Explorer 11

I recommend using Hacker's Keyboard on Android.

DEMO - TEST - HISTORY - UNLICENSE

Supported API

log - write variables to the console

canvas - the canvas element

draw - the 2d context for the canvas

config - just write log(config) in the editor and run the code (shift + enter)

Shortcuts

shift + enter - run code

shift + backspace - clear console

Indentations:

Without a selection

tab - insert two, or as configured, spaces (e.g. config.indentation = 4)

shift + tab - delete two, or as configured, spaces to the left. Aborts if it means deletetion of text

With a selection:

tab - indentation of selected line(s)

shift + tab - reverse indentation of selected line(s)

Development

You can either git clone https://github.com/dotnetCarpenter/small-ide.git && cd small-ide && bower i or bower i small-ide and then cd bower_components/small-ide && bower i, to get the development depedencies. If you want to use a newer version of happen and/or jasmine than already in the test folder, you need to copy happen.js from bower_components/happen into test/lib. And unzip jasmine-standalone-2.*.zip from bower_components/jasmine/dist into test/lib.