BlitzMax Plugin for gedit
Archives Forums/Linux Discussion/BlitzMax Plugin for gedit
| ||
Hey there! I've just written a small plugin for gedit, so you can compile BlitzMax source code. Get it here: http://chaos-interactive.de/en/geditbmax/ The source of the plugin isn't very pretty, but feel free to extend it as you like (sending me your changes would be nice ;) ). Combine it with the highlighting files around here and you get a pretty decend BlitzMax editor, I think. regards, hamZta |
| ||
Thanks! A couple of questions and wishes: Should the "Compile..." menu option open a window? I don't see anything unless I tick "Run after compiling" or there's a compile error. It would be nice if there was a keyboard shortcut for "Compile" and if that would also save the current file. Also, after running gedit from the terminal I see the following warning you might want to correct: /home/jan/.gnome2/gedit/plugins/bmax.py:158: GtkWarning: BlitzMaxMenu: missing action BlitzMaxMenuAction manager.ensure_update() I may have a look at these myself, but I don't have much experience in Python, let alone pygtk... |
| ||
And for all those of you who want everything highlighted and not just the standard stuff I have a blitzmax language creator for gedit. It looks through the makedocs-generated "commands.txt" file and even splits that up into variables (AppTitle, …) keywords (Module, Funtion, …) types (String, Int, … and everything starting with a 'T' followed by an uppercase letter) and functions. It automatically creates the language file and copies it to the right place. It is very useful to combine it with a script that builds your modules so that after a module build, makedocs and language-file-creation (and a restart of gedit) you have all your stuff highlighted. Tested on Ubuntu 9.10 but it should work for everyone with a current bash (v.4). |
| ||
this is cool. |