This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 124543

Summary: Allow #! lines in scripts to specify language instead of extension.
Product: platform Reporter: kjmcdonald <kjmcdonald>
Component: -- Other --Assignee: issues@platform <issues>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:

Description kjmcdonald 2008-01-01 04:08:39 UTC
Please allow more ways to determine file type, not just file extension.

Most times user-visibuile scripts are not named with .sh or any other extension. 

I would like to see the ability to look inside the file to determin file type. For UNIX and UNIX-like scripts, it would
be nice to look for patterns in the first line that begins with "#!". The remainder of the line should fully describe
the interpreter that script uses.