Dear All, I have just seen the latest Geany, having last seen it about a year ago, and am interested in possibly using it as a standard editior/ide on a
bootable cd/dvd system we are developing for students. The ideal is to have a simple GUI which they only have to learn once but can cope with the multiple languages they encounter. Currently we use Emacs + others, but would like a more IDE looking GUI. Geany looks as though it has the workings but I have been trying to add other languages/templates etc. Do I
understand that this is impossible by just adding them to the .conf, and adding filetypes.XXX files, e.g. they are not automatically picked up? or am I missing something?
Many Thanks for any help, the package looks really nice
regards
Peter
* *Same question...
Faustin
PS : is there a repositories where we can find some other filestypes (smarty language in my case)
Hi Faustin,
This question comes up a lot. Maybe there should be a short faq page on the Geany site, in addition to the manual.
Geany uses the Scintilla component for its filetype-specific stuff -- which includes syntax highlighting. If you want to add a new filetype, it means you need to write a Scintilla lexer for it. That's done in C++. Of course, to get a new filetype in Emacs, you also need to write it yourself -- but in elisp instead of C++.
This is in contrast to another well-known GTK+ editor, gEdit, which does not use Scintilla, and (I think) uses XML files and regexen to create new filetypes. Not sure how well their system works out in practice.
I think Geany includes all the available Scintilla lexers, so if it's not in Geany, it's very likely not readily available with Scintilla itself. You might inquire on the Scintilla ML if anyone is working on one, and if not, you might endeavor to write one yourself.
---John
On Dec 5, 2007 11:35 AM, Faustin Lammler lfaustin@gmail.com wrote:
Dear All, I have just seen the latest Geany, having last seen it about a year ago, and am interested in possibly using it as a standard editior/ide on a bootable cd/dvd system we are developing for students. The ideal is to
have
a simple GUI which they only have to learn once but can cope with the multiple languages they encounter. Currently we use Emacs + others, but would like a more IDE looking GUI. Geany looks as though it has the workings but I have been trying to add other languages/templates etc. Do I understand that this is impossible by just adding them to the .conf, and adding filetypes.XXX files, e.g. they are not automatically picked up? or am I missing something?
Many Thanks for any help, the package looks really nice
regards
Peter
Same question...
Faustin
PS : is there a repositories where we can find some other filestypes (smarty language in my case)
Geany mailing list Geany@uvena.de http://uvena.de/cgi-bin/mailman/listinfo/geany
On Tue, 25 Dec 2007 08:31:30 -0500, "John Gabriele" jmg3000@gmail.com wrote:
Hi,
I think Geany includes all the available Scintilla lexers, so if it's
No, Geany only includes these Scintilla lexers which are actually used.
Regards, Enrico
On Tue, 25 Dec 2007 08:31:30 -0500 "John Gabriele" jmg3000@gmail.com wrote:
Hi Faustin,
This question comes up a lot. Maybe there should be a short faq page on the Geany site, in addition to the manual.
Good idea. I started one on the website: http://geany.uvena.de/Documentation/FAQ
Regards, Nick
On Dec 28, 2007 11:22 AM, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Tue, 25 Dec 2007 08:31:30 -0500 "John Gabriele" jmg3000@gmail.com wrote:
Hi Faustin,
This question comes up a lot. Maybe there should be a short faq page on the Geany site, in addition to the manual.
Good idea. I started one on the website: http://geany.uvena.de/Documentation/FAQ
Hi Nick,
Looks good. One minor change you might add:
=== 8< === Q: How do I get my question answered? (^)
A: Please first have a look at our comprehensive <Manual>. If that doesn't answer your question, feel free to ask on the <mailing list>. An alternative way is to leave your question on the <Questions> page. === >8 ===
Actually, what's the point of the "Questions" page?
Also, here's a few more possible faq entries:
Q. Can I extend Geany myself? A. Yes! You can write your own Geany plug-ins in C. If you install the optional Lua plug-in, you can also write your plug-ins in <Lua>.
Q. Can I make Geany behave like Emacs|Vim? A. As its default, Geany uses the standard GTK+ keybindings that most desktop users are familiar with. Although you can remap *most* keybindings to suit your taste, Geany cannot currently fully emulate Emacs or Vim, nor is it currently a goal of the core project developers to make it do so.
Q. Can Geany show me multiple files at the same time? A. Geany provides a tabbed main editor window, but currently does not have split windows. However, there are keybindings to quickly switch between tabs. Geany also has built-in support for using tags.
Q. Does Geany have incremental search? A. Case-insensitive forward incremental search is via the *search* field in the toolbar. For reverse incremental search, start a forward search then use your key for "Find Previous".
---John
On Fri, 28 Dec 2007 13:32:36 -0500 "John Gabriele" jmg3000@gmail.com wrote:
On Dec 28, 2007 11:22 AM, Nick Treleaven nick.treleaven@btinternet.com wrote:
Good idea. I started one on the website: http://geany.uvena.de/Documentation/FAQ
Hi Nick,
Looks good. One minor change you might add:
Thanks, added.
Actually, what's the point of the "Questions" page?
I'm not sure it was a good idea, it was suggested in part of the default FAQ template for PMWiki. Maybe I should remove it. The point was for anyone to suggest any FAQs not already listed, but the trouble is I'll forget to check it, and it may suffer from spam.
Also, here's a few more possible faq entries:
Thanks, I added these also, slightly edited.
Regards, Nick
On Tue, 1 Jan 2008 17:37:20 +0000, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 28 Dec 2007 13:32:36 -0500 "John Gabriele" jmg3000@gmail.com wrote:
On Dec 28, 2007 11:22 AM, Nick Treleaven nick.treleaven@btinternet.com wrote:
Good idea. I started one on the website: http://geany.uvena.de/Documentation/FAQ
Hi Nick,
Looks good. One minor change you might add:
Thanks, added.
Actually, what's the point of the "Questions" page?
I'm not sure it was a good idea, it was suggested in part of the default FAQ template for PMWiki. Maybe I should remove it. The point was for anyone to suggest any FAQs not already listed, but the trouble is I'll forget to check it, and it may suffer from spam.
I think so too. Maybe it is better to only list the manual and the mailing list for getting help. And the first entry on the questions page is in fact more a bugreport than a FAQ suggestion.
Happy new year, Enrico
On Tue, 1 Jan 2008 20:36:20 +0100 Enrico Tröger enrico.troeger@uvena.de wrote:
On Tue, 1 Jan 2008 17:37:20 +0000, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Fri, 28 Dec 2007 13:32:36 -0500 "John Gabriele" jmg3000@gmail.com wrote:
Actually, what's the point of the "Questions" page?
I'm not sure it was a good idea, it was suggested in part of the default FAQ template for PMWiki. Maybe I should remove it. The point was for anyone to suggest any FAQs not already listed, but the trouble is I'll forget to check it, and it may suffer from spam.
I think so too. Maybe it is better to only list the manual and the mailing list for getting help. And the first entry on the questions page is in fact more a bugreport than a FAQ suggestion.
OK, I removed the link to the Questions page.
Regards, Nick
On Wed, 5 Dec 2007 17:35:37 +0100, "Faustin Lammler" lfaustin@gmail.com wrote:
Hi,
you are not subscribed to the list, so to answer in future, please subscribe first [1].
*Same question...
Did you read the thread? There are a few things to do to add new filetypes. But it is described in the file HACKING [1].
PS : is there a repositories where we can find some other filestypes
No.
(smarty language in my case)
See http://lists.uvena.de/pipermail/geany/2007-December/002318.html.
[1] http://uvena.de/cgi-bin/mailman/listinfo/geany [2] http://geany.svn.sourceforge.net/viewvc/geany/trunk/HACKING?revision=2117&am...
Regards, Enrico