I've spent the last few days getting some measure of cobra support into an IDE.
The IDE is codeLite which is a multiplatform C/C++ IDE which has recently got some measure of multi language configuration.
I had a look at codesharp 3.0 earlier this year - It looked possible to provide support but the only configuration to do so was pounding on the (C#) source
I made a start at that but any slight motivation rapidly evaporated when making any changes to the c# source tree ( its built in a version of itself)
caused the (downloaded binary) version to barf (Exception dialog).
Recently some web trail led me to this IDE which looked attractive for an attempt because it used the SCiTE editor component so it should support
syntax coloring reasonably easily and it looked like it was built around a makefile system so should be reasonably configurable without source code changes...
It turns out it also uses XML files for config info so theres some additional non code beating possible there too...
So it turned out - so far I've got working project templates for building from cobra files for executables, executables with embedded RTL ( -ert) and libraries/Assemblies ( -t:lib)
in 3 build types ( debug, release and turbo).
Syntax colorisation is working (except for cobra block comments - that'll probably take a modified python lexer for SciTe ).
The builtin make based build doesnt look possible currently but they provide another
pathway that does work (with some small contortions).
I can build and run the cobra compiler from source via the IDE. ( still have to finish the stdlib build project)
All of which without touching their source code or rebuilding anything....
I've some questions to their forum.
I'll be beating on this a bit more then I'll probably post to the wiki what I've done to date
(the augmented/changed configuration files) in a form suitable for laying on top of a download cobraLite installation.
This will include instructions for the overlay install as well as some description of how to use cobra from the IDE.
No promises of when that will happen
Just to set expectations : It looks like the non C++ language support is still a bit rough - there are small portions of the IDE capabilities that are currently C++ specific and its not clear that they can be made invisible for other languages with the current code ( or that the maintainers have any desire to do so).
Items that currently are not supported for cobra ( and probably will need source mods) include
- word completion, call completion (I think this is what msoft IDE users call 'intellisense' )
Program structure- Outlines Tab (ctags capabilities) - class structure browser
Cobra Gizmos ( fm c++ gizmos) - wizards for new class, newfile Template, ...
Cobra cscope like support - symbol table viewer.
Integrated debugger (thats another project perhaps - a cobra source code debugger)
So far for me, apart from the rich ( and pretty) syntax colorisation, it feels like the use of an IDE with cobra is less productive than my
current edit, compile-run cycles ....