After I got my desktop working again by getting it to
Phil who had another hard disk drive for me I had time and possibility to produce some code in the last few days (By the way, being there, it turned out that the hard disk was fully OK but the IDE cable was damaged. Luckily he also had one for me). After some
obby and C4Scripter work I am proud to announce the release of the first public version of C4Scripter, 0.9.4. C4Scripter is an editor for the Clonk scripting language, C4Script, written in C++ using gtkmm, by Bernhard Bonigl (boni) and me, and is licensed under the GPL.
C4Scripter currently offers the following features:
- Line Numbers, Undo/Redo directly by using gtksourceview.
- Syntax highlighting of the C4Script syntax.
- Parameter tooltips that show the current parameter of the function the cursor is in (see screenshot).
- Automatically load C4Script function definitions from the document CHM file or online from clonk.de/docs.
- Recognize custom function definitions that are also used by the tooltip engine and allows to jump directly to a function.
- Runs on any platform GTK+ runs on.
Furthermore, the following features are planned:
- Rewrite in C. Apart from reducing code size this would remove gtkmm as a dependency. Normally, this would not be a problem, but most clonkers do not even get a GTK+ runtime installed properly... I did already start to write some classes in C that are already in use in 0.9.4 and saved already about 350k.
- As you can already see in the screenshot, the tab close buttons are clipped a bit too much... this one should be trivial to fix by just stealing code from gedit or gnome-terminal

- Move anything apart from main.cpp into a dynamically linked library to allow other projects to use C4Scripter's features - especially the Clonk IDE Niklas Gürtler (Prof. Clonk) is working on.
- Code auto completion: Press Ctrl+Space to pop up a window that shows auto completion suggestions (for example, if one writes "Create" and then presses Ctrl+Space, the list would show CreateObject, CreateContents, CreateConstruction and so on).
- Smart indentation: Automatically indent one level of indentation if the last line contains '{' when hitting Enter. The same should apply for decreasing indentation on '}'.
- Drag & Drop of documents into C4Scripter. Gobby already supports this, so this should also turn out pretty trivial to implement.
-
- Complete C4Script Syntax Check without having to run the Clonk Engine and, if possible, with slightly better error messages.
- gettext support: Most clonkers are still German and some of them seem not to know the English language good enough to be able to understand English software.
Tarballs are available here, a Windows binary will be available as soon as I get boni to make a new Windows build. It requires zlib, chmlib, GTK+, gtkmm and GtkSourceView to compile. You are encouraged to try out this release and report any bugs to boniatbbgen.dot.net and/or arminatarbur.dot.net.
Update: Windows binaries are here. Make sure you have GTK+ and gtkmm installed, at least version 2.8.0.