Hi,

And Thomas, you might add SConscript if you are going to use nested builds in scons, its also Python

Cheers
Lex

2009/2/26 Enrico Tröger <enrico.troeger@uvena.de>
On Wed, 25 Feb 2009 10:39:27 -0600, Thomas Stover
<thomas@wsinnovations.com> wrote:

>This may already be implemented, and if so sorry. In the same manor
>that a file named 'Makefile' is auto detected for a specific syntax
>type, files named 'SConstruct' (scons files) should be auto detected
>to python syntax. This would be awesome, and save a few mouse clicks.

Not directly implemented as such but you can Geany easily to do this
for you:

create a file ~/.config/geany/filetype_extensions.conf
(or ~/.geany/filetype_extensions.conf if your on Geany 0.15 or older)

with the following content:

[Extensions]
Python=*.py;*.pyw;SConstruct;


This adds SContruct as a valid filetype name pattern for Python files
and after restarting Geany or using Tools->Reload Configuration Geany
should recognise these files as Python.


Regards,
Enrico

--
Get my GPG key from http://www.uvena.de/pub.asc

_______________________________________________
Geany mailing list
Geany@uvena.de
http://lists.uvena.de/cgi-bin/mailman/listinfo/geany