Home Download Buy Blog Forum Support

JavaScript snippets in HTML/PHP file when in <script> tags?

JavaScript snippets in HTML/PHP file when in <script> tags?

Postby jakobud on Wed Jun 13, 2012 10:47 pm

When I'm working in a PHP file, Sublime Text is smart enough to give me access to HTML when working in the HTML and PHP snippets when working between <?php ?> tags.

When working between <script></script> tags, ST does not seem to give me access to JavaScript or jQuery snippets. I have to manually change the file syntax to JavaScript (or jQuery).

Is there some way to set this up so it automatically gives me JS snippets when between <script> tags?
jakobud
 
Posts: 37
Joined: Wed Feb 17, 2010 6:05 pm

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 16 guests