shebang line detection

  • rzoz

    rzoz - 2006-08-16

    Apologies if this has been brought up before.  Is it possible to detect python nature of files that do not have a .py extension but begin with a #!/usr/bin/env python line?

    • Fabio Zadrozny

      Fabio Zadrozny - 2006-08-16

      Not Currently.



    • John Whitley

      John Whitley - 2006-08-22

      That would definitely be handy...  Is this something on the TODO list, or does Eclipse not readily permit ad-hoc file typing?  While it's possible to use File Associations as a hack to get around this, it's not very elegant or portable.

      • Fabio Zadrozny

        Fabio Zadrozny - 2006-08-22

        Currently the associations are only as file associations. I believe this was already added as a feature-request, but I still haven't gotten to it.




Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

No, thanks