improve tmlanguage.js
This commit is contained in:
parent
9683d80f84
commit
ed40c1f51f
12 changed files with 898 additions and 175 deletions
26
tool/Readme.md
Normal file
26
tool/Readme.md
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
Helper Scripts for Ace
|
||||
======================
|
||||
|
||||
To use this you need to install node.js. and run `npm install` in this directory.
|
||||
|
||||
|
||||
# add_mode.js
|
||||
|
||||
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`
|
||||
|
||||
|
||||
# tmlanguage.js
|
||||
|
||||
```
|
||||
node tmlanguage.js ./templates/dummy.JSON-tmLanguage
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue