[Geany] feature request
Enrico Tröger
enrico.troeger at xxxxx
Wed Feb 25 17:31:03 UTC 2009
On Wed, 25 Feb 2009 10:39:27 -0600, Thomas Stover
<thomas at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.geany.org/pipermail/users/attachments/20090225/48c6931d/attachment.pgp>
More information about the Users
mailing list