You can find the information here:http://wiki.lazarus.freepascal.org/Extending_the_IDE#Add_your_own_file_type