Netbeans Doesn't Support Javascript
I had netbeans 6.9, and i was trying to edit javascript on it. However, I keep getting code errors in my .js files. I can't even create a new javascript template. I tried upgrad
Solution 1:
I get a bunch of errors where it says "unclosed character literal" or "character, interface, or enum expected"
I suspect you've somehow configured NetBeans to handle *.js files as Java, which is an entirely different language.
Go to Tools-> Options-> Miscellaneous-> Files and find js in the "File Extension" combo. The "Associated File Type (MIME)" input box should say text/javascript
.
Solution 2:
the java-plugin is for java, so this won't help you.
what you'll need is to activate javascript-support. javascript is included in the PHP-pack (and also available as plugin).
to install the plugin, simply click tools -> plugins
and install PHP
to enable javascript-(and html-)support.
Post a Comment for "Netbeans Doesn't Support Javascript"