|
|
hace 10 años | |
|---|---|---|
| .. | ||
| templates | hace 10 años | |
| tmthemes | hace 10 años | |
| Readme.md | hace 10 años | |
| add_mode.js | hace 10 años | |
| lib.js | hace 10 años | |
| mode_creator.html | hace 10 años | |
| mode_creator.js | hace 10 años | |
| package.json | hace 10 años | |
| perf-test.html | hace 10 años | |
| regexp_tokenizer.js | hace 10 años | |
| regexp_tokenizer_test.js | hace 10 años | |
| release.sh | hace 10 años | |
| tmlanguage.js | hace 10 años | |
| tmsnippets.js | hace 10 años | |
| tmtheme.js | hace 10 años | |
| update_deps.js | hace 10 años | |
| wrap_keyword_regexp.js | hace 10 años | |
To use this you need to install node.js. and run npm install in this directory.
Run
node add_mode.js ModeName "extension1|extension2|^FullName"
to create all the files needed for a new mode named ModeName
this adds stubs for:
`ace/mode/mode_name.js`
`ace/mode/mode_name_hightlight_rules.js`
`ace/snippets/mode_name.js`
`ace/demo/kitchen_sink/docs/mode_name.extension1`
and adds entry for the new mode to ace/ext/modelist.js
node tmlanguage.js ./templates/dummy.JSON-tmLanguage