For a bit of fun and to expand my skill set a bit, I had a go at writing a syntax definition for AppGameKit for
Sublime. I've only been working on it for a few hours but here's the result so far:
The syntax highlighting still needs some work and I'm also looking into how we can go about building/compiling the project from Sublime. If anyone knows of any documentation about the AppGameKit compiler and its command line arguments, please point me in the right direction.
Latest download needs to be extracted!!!
For now though, you can simply run Sublime alongside the AppGameKit IDE.
In basic steps:
1. Edit file(s) in Sublime (have the same project open in the AppGameKit IDE).
2. Once you wish to compile, switch to the AppGameKit IDE and you'll encouter a message:

.
Simply hit 'Yes' (or 'All' if you've been editing multiple files).
Installing the package
Simply download the package attached to this post and place it in <sublime installation folder>/Pristine Packages. Then open up sublime. That's it!!!
To check that it has worked, down in the bottom right hand corner of Sublime, you should see the file type e.g "Plain text". Click on that and a drop down menu should appear. "AGK" should be near the top and simply select it to use the AppGameKit highlighting.
Remember to back up your code as I haven't given this method a thorough test (although theoretically, it should be safe).
Enjoy!!!
A few features about sublime which may encourage you to at least give it a try:
-Autocomplete
-Split Editing (two or more source files open side by side).
-Goto anything: press Ctrl+P, type '#' and then your search to search through your code. A find and replace is also available.
-Much more...
A note about the autocomplete
Upon a fresh install of Sublime, autocomplete may not be available. To install autocomplete follow these steps:
1. Paste and Run this code in the built-in console (View->Show Console) (may take a few mins).
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')
2. Once you've restarted Sublime hit Ctrl+Shift+P and type in "Install Package" - hit Enter.
3. Type in "SublimeCodeIntel" and press Enter. May take a few mins.
4. Restart Sublime.
I haven't done anything with the autocomplete but Sublime seems to be able to pick up on what you've typed and adds it to it's own auto complete list. However, it only adds what you've currently got in the source file to it's list and so commands and variable names may not instantly be in the list. I'll see if I can somehow add the AppGameKit commands to the list but it's not high on my to-do list.
Update
-Added 'to' 'or' 'and' 'not' keywords.
-Variable names with numbers in them no longer have the numbers highlighted.
- the '`' symbol is now recognised as a comment.
- AppGameKit functions highlight differently to user functions.
We can now compile in Sublime!
In summary, to do this, install the sublime package downloaded from this post (simply copy/paste into <your sublime installation folder>/Pristine Packages). Then add the agkcompiler to your PATH. I'll give more detailed instructions in a post below.
Please follow these steps:
http://forum.thegamecreators.com/?m=forum_view&t=206696&b=48&msg=2471944#m2471944
Update 17/7/2013
-Syntax highlighting fixed for a few extra keywords including type, endtype, as, and agk datatypes.
- New build system. Instead of having 4 different build systems to switch from, there is now only 1 - AppGameKit Build. The way this works is that F7 will compile and to execute the other variants, hit Ctrl+Shift+P and in the search box type in "run", "compile", "broadcast" or something along those lines (the search box is flexible).
- AppGameKit Run added - allows you to run the latest build. To do this, simply drop the AGKRun.exe into the same folder as your AGKCompiler.exe (assumes you've already set your PATH). To run the latest build, hit Ctrl+Shift+P and search for "agk run" (or similar). Make sure that "AGK Build" is the current build system sublime is using in Tools->Build Systems. See
here for more details.