views:

45

answers:

1

I am using Netbeans to edit my HTML project. I have defined the project as a PHP project (although it is just HTML).

The problem: Netbeans does not recognize this as Javascript:

<script type="application/javascript">

or

<script type="application/x-javascript">

As such it does not enable Javascript editing features. (Autocomplete and such...)

Instead it only recognizes <script type="text/javascript">.

Is there a custom way to cause the editor to recognize "application/javascript" as Javascript?