| View previous topic :: View next topic |
| Author |
Message |
Arun Kumar Posted via mailing list.
|
Posted: Mon Jul 06, 2009 1:13 pm Post subject: Open a PHP file with JS Editor |
|
|
Hi all,
|
|
| Back to top |
|
 |
Tomas Mysik Posted via mailing list.
|
Posted: Tue Jul 07, 2009 8:48 am Post subject: Open a PHP file with JS Editor |
|
|
Hi,
Dne pondělí 06 července 2009 15:12:53 Arun Kumar napsal(a):
| Quote: | I have a PHP file, which is used to generate JS code. Also, this PHP
file will send the Content-Type header as JavaScript, so script tag will
not be there. Most of the file contains JS code. Because <script> tag is
not there in the file, NB is considering the file as a HTML/PHP file and
not highlighting the JS syntax. Is there anyway that I can open this
file(only) in JS editor?
|
unfortunately this is not possible I guess. The only work around I can think
of right now is to create *.js file and copy its content to that PHP file - yes,
not ideal but should work.
HTH,
Tomas
--
Tomas Mysik
address-removed |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|