Home Download Buy Blog Forum Support

Syntax highlighting plugin development

Syntax highlighting plugin development

Postby apfx on Mon Oct 14, 2013 3:33 pm

I would like to have a syntax highlighting and auto-complete plugin for Amibroker Formula Language http://www.amibroker.com/guide/afl/afl_index.php?m=1

I can also provide the Notepad++ userdefinedLang.xml for the above language if useful.
Anyone interested for this job please PM or contact me at aron{at}myafl{dot}com. Put "SublimeText Development" in the subject.
Posts: 1
Joined: Mon Oct 14, 2013 3:20 pm

Re: Syntax highlighting plugin development

Postby 42gr on Wed Mar 11, 2015 12:52 am


Likewise , The lack of an Amibroker Syntax Highlighter is keeping me with NotePad ++

Can any one help with a Syntax Highlight file for Sublime ?

Posts: 1
Joined: Wed Mar 11, 2015 12:50 am

Re: Syntax highlighting plugin development

Postby Binocular222 on Wed Mar 11, 2015 3:59 am

Writing a highlighter is fairly simple and straightforward, but clicking on the link above show:
This page does not exist on our server (Error #404)

I think you can do it yourself using my attached template:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
    <key>uuid</key>                                                 //Each file must have an unique ID
    <string>77AC23B6-8A90-11D9-BAA4-000A9584EC8D</string>           //ID = 77AC23B6-.....
    <key>name</key>                                                 //Descripton, just to display in statusbar
    <string>Data Text</string>                                      //Descripton = Data Text
    <key>scopeName</key>                                            //Top level scope. Any name is ok. General naming convention use source.<lang_name> for programming languages; text.<lang_name> for markup and everything else
    <key>fileTypes</key>                                            //List of file extensions. Auto activate this syntax definition when open these ext
        <array>                                                     //<array>  assigns multiple value to a single key
    <key>patterns</key>                                             //[Mandatory] Patterns goes below inside <array></array>
            <key>comment</key>                                      //[Optional] comment, ST ignore this
            <string>Markdown-style bold character</string>          //write any comment here
            <key>name</key>                                         //Scope name
            <string>link.email</string>                             //Scope name = link.email (color is defined in .tmtheme)
            <string>\[\[[^\]]+\]\]</string>                         //Regex pattern
        ... <== insert many more <dict></dict> here to define more scope names.
Posts: 75
Joined: Sat May 18, 2013 4:10 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 4 guests