My approach is to set up a new file association:
Settings -> Text Editor -> Files -> Associations
Screenshot: