# IDE/Editor for Bro

**URL:** <https://community.zeek.org/t/ide-editor-for-bro/4326>\
**Category:** Zeek\
**Created:** [September 7, 2016, 3:55pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326 "2016-09-07T15:55:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![dw21](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@dw21](https://community.zeek.org/u/dw21)\
**Post date:** [September 7, 2016, 3:55pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/1 "2016-09-07T15:55:22Z")

</div>

Hi there,

I've looked through the mailing list archive but couldn't find a thread for this.

I want to write Bro-Scripts, is there any good IDE / Editor which you could recomend me? Maybe some IDE with syntax highlighting or even a kind of Intellisense (I've written some Java and C++ programs and I liked working with features like this... 🙂 )

Thank you!

---

<div class="post-metadata">

**Author:** ![Ben\_Mixon-Baca](https://avatars.discourse-cdn.com/v4/letter/b/f9ae1b/32.png) [@Ben\_Mixon-Baca](https://community.zeek.org/u/Ben_Mixon-Baca)\
**Post date:** [September 7, 2016, 4:03pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/2 "2016-09-07T16:03:18Z")

</div>

I use emacs and installed bro-mode from github here:

[https://github.com/srunnels/bro-mode](https://github.com/srunnels/bro-mode)

It seems to do an OK job on handling Bro syntax.

---

<div class="post-metadata">

**Author:** ![David\_Hoelzer](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@David\_Hoelzer](https://community.zeek.org/u/David_Hoelzer)\
**Post date:** [September 7, 2016, 4:14pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/3 "2016-09-07T16:14:48Z")

</div>

Someone has also published a Sublime markup addon for Bro. I can't remember who...

---

<div class="post-metadata">

**Author:** ![Jan](https://avatars.discourse-cdn.com/v4/letter/j/ce7236/32.png) [@Jan](https://community.zeek.org/u/Jan)\
**Post date:** [September 7, 2016, 4:38pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/4 "2016-09-07T16:38:26Z")

</div>

> Someone has also published a Sublime markup addon for Bro. I can't remember who...

There is a syntax highlighting definition for sublime and vim:

> **[GitHub - bro/bro-sublime: Sublime Text Syntax plugin for the Bro scripting...](https://github.com/bro/bro-sublime)**
>
> Sublime Text Syntax plugin for the Bro scripting language - GitHub - bro/bro-sublime: Sublime Text Syntax plugin for the Bro scripting language

> **[GitHub - djcas9/bro.vim: bro.vim - A simple plugin for working with the bro...](https://github.com/djcas9/bro.vim)**
>
> bro.vim - A simple plugin for working with the bro scripting languages. - GitHub - djcas9/bro.vim: bro.vim - A simple plugin for working with the bro scripting languages.

And there has been a discussion on the list:  
[http://mailman.icsi.berkeley.edu/pipermail/bro/2013-April/005663.html](http://mailman.icsi.berkeley.edu/pipermail/bro/2013-April/005663.html)

Best regards,  
Jan

---

<div class="post-metadata">

**Author:** ![dopheide](https://avatars.discourse-cdn.com/v4/letter/d/74df32/32.png) [@dopheide](https://community.zeek.org/u/dopheide)\
**Post date:** [September 7, 2016, 4:38pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/5 "2016-09-07T16:38:53Z")

</div>

I think originally it was Liam, but it looks like it may have had some updates since then and got pulled into the main repo?:

[https://github.com/bro/bro-sublime](https://github.com/bro/bro-sublime)

-Dop

---

<div class="post-metadata">

**Author:** ![Seth\_Hall3](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@Seth\_Hall3](https://community.zeek.org/u/Seth_Hall3)\
**Post date:** [September 7, 2016, 7:32pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/6 "2016-09-07T19:32:59Z")

</div>

That was created by a former intern at ICSI (Christian Struck) and then little updates by me. That's also the repository that github uses for syntax highlighting fwiw. If anyone finds any highlighting issues it would be great to get patches into that repo to generally improve Bro syntax highlighting on github (and in my editor!).

&nbsp;&nbsp;.Seth

---

<div class="post-metadata">

**Author:** ![Ditch\_Derek](https://avatars.discourse-cdn.com/v4/letter/d/898d66/32.png) [@Ditch\_Derek](https://community.zeek.org/u/Ditch_Derek)\
**Post date:** [September 8, 2016, 2:26am UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/7 "2016-09-08T02:26:13Z")

</div>

I’d add that Atom also has a Bro language definition that was converted from Seth’s TextMate bundle: [https://atom.io/packages/language-bro](https://atom.io/packages/language-bro)

---

<div class="post-metadata">

**Author:** ![Patrick\_Kelley1](https://avatars.discourse-cdn.com/v4/letter/p/aeb1de/32.png) [@Patrick\_Kelley1](https://community.zeek.org/u/Patrick_Kelley1)\
**Post date:** [September 8, 2016, 8:14pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/8 "2016-09-08T20:14:39Z")

</div>

Atom is pretty solid and has a bro recognition. Free doesn’t hurt, either.

![image001.png](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/edcd7fecc87c1a3c4c493627cdf4951cb57911f7.png)

---

<div class="post-metadata">

**Author:** ![Azoff\_Justin\_S](https://avatars.discourse-cdn.com/v4/letter/a/dec6dc/32.png) [@Azoff\_Justin\_S](https://community.zeek.org/u/Azoff_Justin_S)\
**Post date:** [September 9, 2016, 1:35am UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/9 "2016-09-09T01:35:26Z")

</div>

Oh! Speaking of atom… I had written a plugin for linter to parse the bro -a output… Apparently it was completely broken after not being updated for a year, but I just re-wrote it from scratch and published it to the atom package site:

[https://atom.io/packages/linter-bro](https://atom.io/packages/linter-bro)

With it installed atom will tell you when you save a bro script that has errors in it.

Install linter and linter-bro through the GUI or just run “apm install linter linter-bro”.

 ![](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/81636719bb24d3e027b1ea03ab391635e12e885b.png)

---

<div class="post-metadata">

**Author:** ![dw21](https://avatars.discourse-cdn.com/v4/letter/d/58956e/32.png) [@dw21](https://community.zeek.org/u/dw21)\
**Post date:** [September 9, 2016, 3:35pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/10 "2016-09-09T15:35:29Z")

</div>

Hey fellas,

wow, thank you all for your answers! I will try these editor to see which suits me best!

-Dane

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/zeek/original/1X/f09d732bc2cc7c7cc7e35db67cf4e1d5233ce7a7.png) [@system](https://community.zeek.org/u/system)\
**Post date:** [May 6, 2022, 3:43pm UTC](https://community.zeek.org/t/ide-editor-for-bro/4326/11 "2022-05-06T15:43:59Z")

</div>


