Hi,
Currently, trying saving a Pascal file shows a save dialogue whose field is "untitled.p". However, this ".p" extension doesn't seem to be associated *well* with TextMate.
TextMate has a icon for Pascal document, but ".p" files don't show up with TexMate doc icons. After some trial and errors, I found that ".pas" is associated with TextMate, showing a proper icon.
By supporting ".p" as a Pascal file as well, I don't bother to associate thsese files with TextMate each time, using Get Info and Change setting with "Open With...".
Takaaki
On 29/7/2006, at 12:31, Takaaki Kato wrote:
[...] By supporting ".p" as a Pascal file as well, I don't bother to associate thsese files with TextMate each time, using Get Info and Change setting with "Open With...".
You can select Change All… from the Get Info window, that will make all current and future .p files associated with TextMate.
I have however changed the default extension (found in the language grammar) to ‘pas’ rather than ‘p’ and also added ‘p’ as a Pascal extension (in TextMate’s Info.plist.)