Forums

[Script editor support]Geany filetype

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

[Script editor support]Geany filetype

Postby maboiteaspam » Mon May 30, 2011 2:56 pm

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
Attachments
filetypes.Cobra.conf.cobra
File to copy in personnal geany's config directory. It must be named filetypes.Cobra.conf
(3.17 KiB) Downloaded 335 times
maboiteaspam
 
Posts: 6

Re: [Script editor support]Geany filetype

Postby Charles » Mon May 30, 2011 11:32 pm

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.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 44 guests