Le 27/01/2016 12:32, Lex Trotman a écrit :
On 27 January 2016 at 21:23, Alain Aupeix firstname.lastname@example.org wrote:
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