[TxMt] Re: Automatic Language selection of 'css.inc.php' files possible?

Steven Rowat Steven_Rowat at sunshine.net
Sat Mar 15 00:47:16 UTC 2008


Hi,


>I want TextMate to automatically use the 'CSS' Language scopes when I'm editing my <foo-css.inc.php> includes (which contain only css text), and to use the html Language scopes when I'm editing my html includes, <foo-inc.php> (which contain only html text).

OK, I can report that I solved my dilemma by renaming all the 'css.inc.php' files as '.inc.css' files, and TextMate properly sets the language as css.

I had read that using .css is less secure than using .php (which is why I didn't use .css to begin with), but that's probably only valid when the includes are inside the web site root; mine are outside.

Sorry for the false alarm.

Steven Rowat



More information about the textmate mailing list