Page 1 of 1

[Script editor support]Geany filetype

PostPosted: Mon May 30, 2011 2:56 pm
by maboiteaspam
Hi,

As i did not find out a simple way to get Cobra source code available in monoDevelop, i decided to use Geany.
I produced a first version for a cobra filetype support in this app.

Operations are quit simple
Geany-INFO: Geany 0.20, fr_FR.utf8

Edit %home%/.config/geany/filetype_extensions.conf
Add `Cobra=*.cobra;` before the declaration, `None=*;`

download attachment, filetypes.Cobra.conf.cobra
Copy the file in %home%/.config/geany/filedefs/
Rename it to filetypes.Cobra.conf

Restart app

Path are provided for f15 with gnome3, they may differ for your dist.
I also had to change file attachment extension to bypass form's restriction on submit. So, rename the file.


There is
- color syntax
- project management
- can collapse method / class

It can, but i did not try, or even configured file for it
- debug
- compile
- execute

There is not good code completion.

Let's say that i simply copy paste python configuration and updated some configuration values to make it work.
So there is clearly lots of invalid values that need to be corrected in attached file.

Software website is here http://www.geany.org/Main/HomePage

At least it is easy and fast to set it up, get to work.

bye

Re: [Script editor support]Geany filetype

PostPosted: Mon May 30, 2011 11:32 pm
by Charles
This is great. Thanks very much for doing this.

Many of us have initiated Cobra support for editors and IDEs by cloning the Python hacking it into shape for Cobra.

Would you please push this information to the wiki? This is very important because people will go to:

http://cobra-language.com/trac/cobra/wiki/EditorSupport

To find editor support, especially since this is linked from the Downloads page.

I have already stubbed out the link to Geany. Just click to edit. :-)

Your wiki login and password is the same as the discussion forums.