[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Editing lilypond files with Geany
From: |
Federico Bruni |
Subject: |
Re: Editing lilypond files with Geany |
Date: |
Mon, 31 May 2010 22:12:52 +0200 |
Hi Tanguy,
thank you so much for the info.
I've been looking for a lightweight editor for some time (I'm currently
using Gedit and the embedded terminal, but Geany seems better and
promising).
I've tried to set it up but it's not working.
I've downloaded the svn version:
aptitude install subversion
svn co https://geany.svn.sourceforge.net/svnroot/geany/trunk geany
cd geany
./autogen.sh
make
sudo make install
Fine so far.
Then I launched Geany and opened Tool>>Configuration
files>>filetype_extensions.conf
I've added the line:
LilyPond=*.ly;
and saved in ~/.config/geany/filetype_extensions.conf
Then I created the file ~/.config/geany/filedefs/filetypes.lilypond
(see the attached file, very basic... if you want to share your file I'd
be curious)
I've closed and launched again Geany, but there is not any new filetype
in Document>>Set filetype>>Custom filetypes
And if I open a .ly file Geany does not understand it's a LilyPond file.
I'm surely missing something.
Can you help me?
Thanks,
Federico
On Sun, 2010-05-30 at 18:19 +0200, Tanguy Léost wrote:
> Hello,
>
> just in case someone might be interested:
>
> I just compiled the SVN version of geany (0.19).
> Geany now supports the creation of custom filetypes, so
> I created one for lilypond.
> It supports syntax highlighting, and one can define commands
> to invoke lilypond and a pdf viewer from the editor.
>
> I worked a bit with it, and I think it is a
> decent alternative to emacs or jedit, especially
> for those who are looking for a lightweight editor.
>
> Tanguy
>
filetypes.lilypond
Description: Text document