[wingide-users] detecting python files
support at wingware.com
Thu May 15 17:21:53 MDT 2008
Michael P. Soulier wrote:
> I have several files in my project that are python but do not end in
> .py. Sometimes WingIDE detects these as Python and sometimes does not.
> I'm not sure why. If I manually add the files then it detects them as
> Python, so it looks like there is a disconnect somewhere.
Wing will look for a #! followed by python on the first line of the file
if it doesn't have a known file extension. This should be done whether
or not the files are in the project.
More information about the wingide-users