mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-06 01:06:54 +07:00
Add ability to detect file type based on hasbang (#! string) inside the file contents (via FileAssocTable.findAssociatedFileTypeByHashBang()). Store/persist hashbang patterns in FileTypeManagerImpl. Enable users to configure hashbang associations via Settings|File types UI. Allow plugins to configure hashbangs via <fileType hashBangs=""/> in plugin.xml Replace some no more needed HashBangFileTypeDetectors for standard langs with xml configs GitOrigin-RevId: 14335912b90f2d4f665d2a71eddeebf5cfc91f30