[TIP] Bracket / Scope Highlighting in Eclipse!

I found an easy way to apply bracket / scope highlighting for MonkeyC in Eclipse.
Although the solution is not specific to MonkeyC syntax, it is a generic solution that works well with most languages. It also comes with a lot of customizations!
The steps described below is from a Mac, but should be similar on Windows.

Install Nodeclipse EditBox plugin for Eclipse

  • Open Eclipse
  • Go to Help -> Eclipse Marketplace...
  • In Eclipse Marketplace, search for EditBox
  • Install Nodeclipse's version of EditBox (Green icon)
  • When prompted to confirm selected features, you may unselect Nodeclipse Plugins List (not required)
  • Confirm, accept and finish installation. Restart Eclipse when prompted.
  • Once Eclipse has restarted, go to Eclipse -> Preferences... -> EditBox
  • Make sure the Plugin enabled checkbox is checked
  • Under the Categories list, click the Add button to add a new category and call it MonkeyC
  • Under the Associated file names list, click the Add button to add a new file association and specify *.mc as the file name pattern
  • Click OK to close the Preferences window.
  • Open a source file and you will now see how the various levels of code blocks are highlighted!

Configure EditBox plugin

  • Go to Eclipse -> Preferences... -> EditBox
  • Click on the MonkeyC tab.
  • Be sure to give your theme a new name (Rename/select theme) so that you don't overwrite the settings of any of the existing themes.
  • You can experiment with all the different settings, it is really quick and easy to learn.
  • One thing worth mentioning is that in order to change the color for a specific level, you have to double click that level in the Preview pane to bring up a color picker.
  • Don't forget to experiment with the desired number of levels (Color levels) for which you would like highlighting to be applied to


The colors below are from a built-in theme. You can customize it to your liking to best suit your needs.