I'm stumped again. I got > comments working for plain text documents using this method, but now I want to set // type comments for all php source. I've tried adding the following preferences to both PHP and HTML bundles, using source.php as the selector:
/* preferences */ { shellVariables = ( { name = 'TM_COMMENT_START'; value = '// '; }, { name = 'TM_COMMENT_END'; value = ''; }, { name = 'TM_COMMENT_MODE'; value = 'line'; }, ); }
Doesn't work! I've tried with .php files set to both HTML and PHP language types.
Idears?
Thanks again, Q
PS: Is it _always_ appropriate to use "HTML" as a file's language? I noticed the "Source -> View source as HTML" command doesn't work unless you select " X PHP -> Use HTML".