I am using CouchDB Futon to edit the views and shows. But I find it hard to edit the JavaScript code because of converting the newline to "\n". Also, it is hard to do all the escaping work.
What do you use to edit your views?
I am using CouchDB Futon to edit the views and shows. But I find it hard to edit the JavaScript code because of converting the newline to "\n". Also, it is hard to do all the escaping work.
What do you use to edit your views?
You can edit view code by browsing to it in Futon, and then expanding the source code area. You can then save/undo, etc.
For the other functions, and views too, you can always use LoveSeat.
Cheers.
Maybe you want to have a look at the CouchApp framework. It allows you to have your map, reduce, show, list etc. functions in text files you can edit with the editor of your choice. A simple command pushes them to your design documents. It is intended for building CouchApps, but might as well be useful if you only need to edit your views.