big-moving.ru/api/soft/Ace/tool
yurec 0c7fcceb6a first commit 2022-06-24 13:29:23 +03:00
..
templates first commit 2022-06-24 13:29:23 +03:00
tmthemes first commit 2022-06-24 13:29:23 +03:00
Readme.md first commit 2022-06-24 13:29:23 +03:00
add_mode.js first commit 2022-06-24 13:29:23 +03:00
lib.js first commit 2022-06-24 13:29:23 +03:00
mode_creator.html first commit 2022-06-24 13:29:23 +03:00
mode_creator.js first commit 2022-06-24 13:29:23 +03:00
package.json first commit 2022-06-24 13:29:23 +03:00
perf-test.html first commit 2022-06-24 13:29:23 +03:00
regexp_tokenizer.js first commit 2022-06-24 13:29:23 +03:00
regexp_tokenizer_test.js first commit 2022-06-24 13:29:23 +03:00
release.sh first commit 2022-06-24 13:29:23 +03:00
tmlanguage.js first commit 2022-06-24 13:29:23 +03:00
tmsnippets.js first commit 2022-06-24 13:29:23 +03:00
tmtheme.js first commit 2022-06-24 13:29:23 +03:00
unicode.js first commit 2022-06-24 13:29:23 +03:00
update_deps.js first commit 2022-06-24 13:29:23 +03:00
wrap_keyword_regexp.js first commit 2022-06-24 13:29:23 +03:00

Readme.md

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