Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mathieuancelin/play-editor

Web editor for Play 1 projects so you can edit your app inside your app (not sure it's useful)
https://github.com/mathieuancelin/play-editor

Last synced: 3 days ago
JSON representation

Web editor for Play 1 projects so you can edit your app inside your app (not sure it's useful)

Awesome Lists containing this project

README

        

Play !> web editor
=================

A Play 1 module to edit your application inside your application in DEV mode.

![Play web editor](https://github.com/mathieuancelin/play-editor/raw/master/webeditor.png "Play web editor")

To use it, clone the repo inside your play modules

```
$ cd ${PLAY_HOME}/modules
git clone https://github.com/mathieuancelin/play-editor.git editor
```

add an 'editor' file inside the module folder of your app with :

```
/path/to/play-1.2.5/modules/editor
```

or you can just clone the module in your application

```
$ cd ${APP}/modules
git clone https://github.com/mathieuancelin/play-editor.git editor
```

When starting the application, the web editor is available at http://localhost:9000/@editor

You can edit your code, create files or directories, insert snippets.

You can use shortcuts like Command-S to save the current file and Command-B to run the 'test URL' while coding the application. Each time the editor lose focus, the current file is saved.

ACE shortcuts can be found here : https://github.com/ajaxorg/ace/wiki/Default-Keyboard-Shortcuts