Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

shebang line detection

rzoz
2006-08-16
2013-03-15
  • 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.

      Cheers,

      Fabio

       
    • 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.

        Cheers,

        Fabio