# Syntax Highlighting for Event Assembler

**URL:** <https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131>\
**Category:** Toolbox\
**Created:** [January 26, 2017, 2:09pm UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131 "2017-01-26T14:09:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![circleseverywhere](https://feuniverse.us/user_avatar/feuniverse.us/circleseverywhere/32/1140_2.png) [@circleseverywhere](https://feuniverse.us/u/circleseverywhere)\
**Post date:** [January 26, 2017, 2:09pm UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131/1 "2017-01-26T14:09:09Z")

</div>

#[Download ZIP](https://www.dropbox.com/s/cj64wx8h3cwssqr/EVENT_tmlanguage.zip?dl=0)

This lets you add syntax highlighting for event language for TextMate, Sublime Text, and any other editor that uses .tmlanguage files.

* * *

###Installation (Sublime Text 2):  
Extract the contents of the zip into

```
C:\Users\[username]\AppData\Roaming\Sublime Text 2\Packages\User\

```

.event files will automatically have the right syntax highlighting. For .txt files, go to View\>Syntax\>EVENT.

> **Preview**
>
> ![](https://feuniverse.us/uploads/default/original/2X/1/15cb92ce715c8b391762593a4292dbd1ac87f9fc.png)  
> ![](https://feuniverse.us/uploads/default/original/2X/e/e64c6c918457afa6f285b9e78fce7f4d37182a60.png)
> 
> [http://puu.sh/tB1vU/f475001d00.png](http://puu.sh/tB1vU/f475001d00.png)

---

<div class="post-metadata">

**Author:** ![Ryuke](https://feuniverse.us/letter_avatar_proxy/v4/letter/r/7ba0ec/32.png) [@Ryuke](https://feuniverse.us/u/Ryuke)\
**Post date:** [March 10, 2017, 6:26am UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131/2 "2017-03-10T06:26:52Z")

</div>

Sorry to bring this up.  
Doesnt seem to work in Sublime 3 (at least me).

Did the exact same procedure.  
(my sublime text is installed in the system… and its in program files rather appdata – this shouldnt be the issue)

---

<div class="post-metadata">

**Author:** ![circleseverywhere](https://feuniverse.us/user_avatar/feuniverse.us/circleseverywhere/32/1140_2.png) [@circleseverywhere](https://feuniverse.us/u/circleseverywhere)\
**Post date:** [March 10, 2017, 1:00pm UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131/3 "2017-03-10T13:00:41Z")

</div>

Even if Sublime is intalled in program files, you need to put the plugins in appdata.

---

<div class="post-metadata">

**Author:** ![StanH](https://feuniverse.us/user_avatar/feuniverse.us/stanh/32/5102_2.png) [@StanH](https://feuniverse.us/u/StanH)\
**Post date:** [March 24, 2017, 9:35pm UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131/4 "2017-03-24T21:35:43Z")

</div>

As suggested by circles, I am posting the one I use for Notepad++, link: [https://www.dropbox.com/s/vdwusyqu5cn4s1p/ea.xml?dl=0](https://www.dropbox.com/s/vdwusyqu5cn4s1p/ea.xml?dl=0)

In Notepad++, go to Language\>Define Your Language\>Import and select the file. Then go to Language\>Event Assembler to enable Highlighting for your current file (It also automatically applies for newly opened .ea and .event files).

> **Preview**
>
> ![](https://feuniverse.us/uploads/default/original/2X/b/b67ca1dd94b5615d7ba04f8cf7836f5716ac6f16.PNG)

---

<div class="post-metadata">

**Author:** ![Snakey1](https://feuniverse.us/user_avatar/feuniverse.us/snakey1/32/34619_2.png) [@Snakey1](https://feuniverse.us/u/Snakey1)\
**Post date:** [December 30, 2021, 8:17pm UTC](https://feuniverse.us/t/syntax-highlighting-for-event-assembler/2131/5 "2021-12-30T20:17:10Z")

</div>

Necropost time. Here’s a dump of what I use for notepad++ syntax highlighting for [EA scripts](https://github.com/Snakey11/SnekASM/blob/master/DevelopmentSided/EventAssembler.xml), [thumb source](https://github.com/Snakey11/SnekASM/blob/master/DevelopmentSided/ASMLanguage.xml), and [textprocess scripts](https://github.com/Snakey11/SnekASM/blob/master/DevelopmentSided/TextLanguage.xml). They’re probably best optimized for dark mode.

Disclaimer: They’re custom made by me, and intelligent design in any regard is not guaranteed in any way, shape, or form. There’s also a bunch of stuff (macros, etc) that are useful probably to me only.

EDIT: Check out a comprehensive guide for setting up notepad++ highlighting in dark mode plus an improved highlighting scheme here: [How to Set Up EA Syntax Highlighting in Notepad++](https://feuniverse.us/t/how-to-set-up-ea-syntax-highlighting-in-notepad/19485)
