Shebang inspection for file type determination

It would be great if pycharm could look at shebang notation to determine file type.

code/a/plug has #!/usr/bin/env python

code/b/plug has #!/bin/bash

It would be great if the files (without any distinguishable file name) could be associated with different syntax based on shebang (which is a posix standard).

Alternatively allow me to put a slash in the file type association to explicitly list my files for different plugins (so I can say a/plug is python, b/plug is bash).

Please sign in to leave a comment.