Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dotnetcarpenter/small-ide
A small browser based IDE
https://github.com/dotnetcarpenter/small-ide
Last synced: 4 days ago
JSON representation
A small browser based IDE
- Host: GitHub
- URL: https://github.com/dotnetcarpenter/small-ide
- Owner: dotnetCarpenter
- License: unlicense
- Created: 2014-01-09T14:13:21.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-01-15T02:46:57.000Z (almost 11 years ago)
- Last Synced: 2024-10-19T19:44:21.553Z (2 months ago)
- Language: JavaScript
- Size: 324 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
Awesome Lists containing this project
README
small-ide
=========A small browser based IDE for web development, featuring a canvas element, a console (with [sticky scroll](http://stackoverflow.com/questions/18614301/keep-overflow-div-scrolled-to-bottom-unless-user-scrolls-up/21067431#21067431)) and an editor.
**Developed for**
Firefox 26, Chrome 31 and Internet Explorer 11I recommend using [Hacker's Keyboard](https://play.google.com/store/apps/details?id=org.pocketworkstation.pckeyboard) on Android.
[DEMO](http://dotnetcarpenter.github.io/small-ide/) -
[TEST](http://dotnetcarpenter.github.io/small-ide/test/test.html) -
[HISTORY](HISTORY.md) -
[UNLICENSE](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](https://github.com/tmcw/happen) and/or [jasmine](http://jasmine.github.io/2.0/introduction.html) 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*.