Hello, Firs of all, I want to say that I'm pleased with the codemirror plugin included int 5.0.12 Today I just created a new wiki using the command
tiddlywiki wikiname --init server And when I made a search for code Mirror I found (attached pic) <https://lh5.googleusercontent.com/-Be4c-KLrnOY/U4Zu5y6jAII/AAAAAAAALUg/U-CttgalgDM/s1600/Captura+de+pantalla+2014-05-29+a+la%28s%29+00.51.19.png> Wow! so many things included by default. Some time ago I worked building a standalone version, empty but wit many of the codemirror addons included. My idea was to use it as a dev environment and make a new copy for every plugin or widget I want to develop. Now, with the node.js version this idea is even more meaningful. And it is currently very close to get a reality. I just included a new addon: "$:/plugins/tiddlywiki/codemirror/addon/edit/closebrackets.js"(copy paste from the original source). I created the config file detailed in the shadow tiddler instructions plus some extra configurations and BANG! a ready to go dev environment which can be easily tracked with git. In a standalone version this does not make sense because everything is included into the same html file, but since node version stores your tiddlers in separate files, you can easily track them with git, use diff and so much more things. Jeremy, I suggest you to include one more addon and edit the example config tiddler to include it and its configuration. Here is the json code to add: Addons (matchbrackets is currently included) "$:/plugins/tiddlywiki/codemirror/addon/edit/matchbrackets.js", "$:/plugins/tiddlywiki/codemirror/addon/edit/closebrackets.js" "configuration": { ..... "matchBrackets":true, "autoCloseBrackets" : true } Those addons are very useful and generic. Maybe you could add a third option to the init command and make that configuration the default. Something like tiddlywiki wikiname --init dev What do you think about it? Fast widget / plugin development coming.... -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/tiddlywikidev. For more options, visit https://groups.google.com/d/optout.
