[Geany-Users] Adding a filetype

Alain Aupeix alain.aupeix at xxxxx
Wed Jan 27 13:32:51 UTC 2016


Le 27/01/2016 12:32, Lex Trotman a écrit :
> On 27 January 2016 at 21:23, Alain Aupeix <alain.aupeix at wanadoo.fr> wrote:
>> Hi,
>>
>> New user of geany (v0.21 under Ubuntu 12.04) , I tried to add a language.
>> I  started using filetypes.c and adding *.prg to C extensions.
>> It works.
>>
>> I then now tried to add a new filetype in filetype_extentions.conf, and
>> to rename filetypes.c to filetypes.harbour
> You need to read the manual section on adding custom filetypes.
Well, I was reading the documentation, and find that for custom
filetypes, the naming convention isn't the same.
I have renamed it filetypes.harbour.conf

But thats always not ok.

I have read the doc
index.html#custom-filetypes

but I don't find what can be wrong.

I have put a prg file and filetypes.harbour online.
https://www.dropbox.com/s/md6tyw1wmxgliuj/Harbour-geany.tar.gz?dl=1

A+
-- 
------------------------------------------------------------------------
Alain Aupeix
http://jujuland.pagesperso-orange.fr/
http://pissobi-lacassagne.pagesperso-orange.fr/
------------------------------------------------------------------------
U.buntu 12.04 | G.ramps 3.4.9-1 | H.arbour 3.2.0dev (2016-01-24 12:06) |
HbIDE (Rev.316) | Five.Linux (r143) | Hw.Gui (2516)
------------------------------------------------------------------------


More information about the Users mailing list